remove permission from access decorator exception args

This commit is contained in:
dandds
2019-03-21 19:04:58 -04:00
parent 828d46bae9
commit 905f03342d
4 changed files with 7 additions and 11 deletions

View File

@@ -20,7 +20,7 @@ def find_unsigned_ko_to(task_order_id):
return task_order
def wrap_check_is_ko(user, _perm, task_order_id=None, **_kwargs):
def wrap_check_is_ko(user, task_order_id=None, **_kwargs):
task_order = TaskOrders.get(task_order_id)
Authorization.check_is_ko(user, task_order)