MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / getUserUUID

Function getUserUUID

apps/web/src/lib/user/server.ts:1159–1165  ·  view source on GitHub ↗
(user: User)

Source from the content-addressed store, hash-verified

1157 if (headersList.has('authorization')) {
1158 redirect(await appendCallbackPath(loggedOutRedirectUrl));
1159 }
1160
1161 const { user } = await resolveUserFromSession(
1162 { adminOnly: false, DANGEROUS_allowBlockedUsers: true },
1163 db
1164 );
1165 if (!user) {
1166 redirect(await appendCallbackPath(loggedOutRedirectUrl));
1167 }
1168 if (user.blocked_reason) {

Callers 3

server.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected