Merged in feat/basic-user (pull request #3135)

feat(SW-3610): Get basic user from api

* feat(SW-3610): Get basic user from api

* .

* Optional profileid


Approved-by: Anton Gunnarsson
This commit is contained in:
Linus Flood
2025-11-12 14:00:56 +00:00
parent 88644597df
commit 19495eed28
11 changed files with 123 additions and 23 deletions

View File

@@ -83,7 +83,7 @@ export const userQueryRouter = router({
if (!isValidSession(ctx.session)) {
return null
}
const user = await ctx.getScandicUser()
const user = await ctx.getScandicBasicUser()
if (!user) {
return null