mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 15:35:46 +07:00
[FIX] runbot: typo in controller methods
This commit is contained in:
parent
b84964d9f7
commit
ef6405fb4e
@ -1131,7 +1131,7 @@ class RunbotController(http.Controller):
|
||||
#context['level'] = level
|
||||
return request.render("runbot.build", context)
|
||||
|
||||
@http.route(['/runbot/build/<build_id>/force'], type='http', auth="public", method='POST')
|
||||
@http.route(['/runbot/build/<build_id>/force'], type='http', auth="public", methods=['POST'])
|
||||
def build_force(self, build_id, **post):
|
||||
registry, cr, uid, context = request.registry, request.cr, 1, request.context
|
||||
repo_id = registry['runbot.build'].force(cr, uid, [int(build_id)])
|
||||
|
Loading…
Reference in New Issue
Block a user