diff options
| author | altaf-creator <dev@altafcreator.com> | 2025-12-29 23:40:00 +0800 |
|---|---|---|
| committer | altaf-creator <dev@altafcreator.com> | 2025-12-29 23:40:00 +0800 |
| commit | 160aa541938f0ab5864554679bda50899079ea10 (patch) | |
| tree | 770743ebedf9d58ca58af1787e8d5b5ecf34a6d5 /backend/main.py | |
| parent | b207c9e2416114d61873eccc32877558fa52c403 (diff) | |
weird error
Diffstat (limited to 'backend/main.py')
| -rw-r--r-- | backend/main.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/backend/main.py b/backend/main.py index 028fbfa..7be9c75 100644 --- a/backend/main.py +++ b/backend/main.py @@ -460,5 +460,4 @@ def uri_to_information(data: InformationRequestData, response: fastapi.Response, def notif_subscribe(data: notif.PushSubscriptionData, response: fastapi.Response): endpoint = notif.subscribe(data) response.set_cookie(key="subscription_endpoint", value=endpoint, max_age=COOKIE_MAX_AGE, domain="laundryweb.altafcreator.com", samesite="none", secure=True, path="/") - response.status_code = fastapi.status.HTTP_200_OK return "do i need to return something perhaps" |
