mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-20 00:30:57 +00:00
Fix bug wrapping endpoints.
This commit is contained in:
parent
6e2aaa8391
commit
2bccb01be4
@ -110,6 +110,7 @@ def _authorized_route(app, required_secrets, *route_args, **route_kwargs):
|
||||
def decorator(f):
|
||||
@app.route(*route_args, **route_kwargs)
|
||||
@_authorization_decorator(required_secrets)
|
||||
@wraps(f)
|
||||
def handle_route(*args, **kwargs):
|
||||
return f(*args, **kwargs)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user