mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
[FIX] runbot_merge: incorrectly named endpoint
Method has the same name as its preceding sibling, so it overwrites it and one of the endpoints is not accessible.
This commit is contained in:
parent
95393afde8
commit
3a4fa494f8
@ -40,7 +40,7 @@ class MergebotController(Controller):
|
||||
]
|
||||
|
||||
@route('/runbot_merge/stagings/<int:from_staging>/<int:to_staging>', auth='none', type='json')
|
||||
def prs_for_staging(self, from_staging, to_staging, include_from=True, include_to=True):
|
||||
def prs_for_stagings(self, from_staging, to_staging, include_from=True, include_to=True):
|
||||
Stagings = request.env(user=1, context={"active_test": False})['runbot_merge.stagings']
|
||||
from_staging = Stagings.browse(from_staging)
|
||||
to_staging = Stagings.browse(to_staging)
|
||||
|
Loading…
Reference in New Issue
Block a user