We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 72cc7a2 + 67f4ca2 commit 5ebcbf8Copy full SHA for 5ebcbf8
1 file changed
packages/server/src/lib/auth.ts
@@ -42,7 +42,7 @@ const { handler, api } = betterAuth({
42
},
43
});
44
45
- if (admin) {
+ if (admin?.user) {
46
return [
47
...(admin.user.serverIp
48
? [`http://${admin.user.serverIp}:3000`]
0 commit comments