Commit e3b0fbae authored by Sofia Papagiannaki's avatar Sofia Papagiannaki
Browse files

Fix missing method argument

parent b8d4ba9e
......@@ -532,7 +532,7 @@ def remove_membership(project_application_id, user, request_user=None):
project_id = get_project_id_of_application_id(project_application_id)
return do_remove_membership(project_id, user, request_user)
def do_remove_membership_checks(project, membership):
def do_remove_membership_checks(project, membership, request_user):
if request_user and \
(not project.application.owner == request_user and \
not request_user.is_superuser):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment