Removes the getUser logic from createContext, instead use isAuthed (#7902)

* Removes the getUser logic from createContext, instead use isAuthed

* Fix types :party
This commit is contained in:
Alex van Andel authored and GitHub committed 2023-03-23 19:46:33 +01:00
1 parent fa17139e8f
commit e4893c2218
3 files changed
+121 -136

No files matched your search

-1
View File
@@ -29,7 +29,6 @@ export async function ssgInit<TParams extends { locale?: string }>(opts: GetStat
ctx: {
prisma,
session: null,
user: null,
locale,
i18n: _i18n,
},