Access create empty boy fix
This commit is contained in:
parent
c115b5843b
commit
69f3128dbc
@ -38,8 +38,8 @@ class ShareActionsController(wsgi.Controller):
|
||||
access_type = body['os-allow_access']['access_type']
|
||||
access_to = body['os-allow_access']['access_to']
|
||||
|
||||
self.share_api.allow_access(context, share, access_type, access_to)
|
||||
return webob.Response(status_int=202)
|
||||
access = self.share_api.allow_access(context, share, access_type, access_to)
|
||||
return {'access': access}
|
||||
|
||||
@wsgi.action('os-deny_access')
|
||||
def _deny_access(self, req, id, body):
|
||||
|
Loading…
x
Reference in New Issue
Block a user