diff --git a/r2/r2/controllers/reddit_base.py b/r2/r2/controllers/reddit_base.py index 9164c13fa..71b633624 100644 --- a/r2/r2/controllers/reddit_base.py +++ b/r2/r2/controllers/reddit_base.py @@ -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