mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-25 14:58:27 -05:00
Add missing @wraps to cross_domain.
This commit is contained in:
@@ -525,6 +525,7 @@ def cross_domain(origin_check=is_trusted_origin, **options):
|
||||
"allow_credentials": bool(options.get("allow_credentials"))
|
||||
}
|
||||
|
||||
@wraps(fn)
|
||||
def cross_domain_handler(self, *args, **kwargs):
|
||||
if request.params.get("hoist") == "cookie":
|
||||
# Cookie polling response
|
||||
|
||||
Reference in New Issue
Block a user