Skip to content

Commit c0eeede

Browse files
committed
bro
1 parent 695aa58 commit c0eeede

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

backend/Platform/urls.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
path("accounts/", include("accounts.urls", namespace="oauth2_provider")),
1414
path("options/", include("options.urls", namespace="options")),
1515
path("identity/", include("identity.urls", namespace="identity")),
16-
path("healthbackend/", include("health.urls", namespace="health")),
16+
path("healthbackend/", include("health.urls", namespace="healthbackend")),
1717
path("s/", include("shortener.urls", namespace="shortener")),
1818
path(
1919
"openapi/",

frontend/utils/auth.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export function withAuth<T>(getServerSidePropsFunc: GetServerSidePropsFunc<T>) {
4545

4646
if (casted.tag === "props") {
4747
return {
48-
props: { ...casted.props },
48+
props: { ...casted.props, user: null } as T & AuthProps,
4949
};
5050
} else if (casted.tag === "notFound") {
5151
return { notFound: casted.notFound };

0 commit comments

Comments
 (0)