change databases from surrealdb to pocketbase

This commit is contained in:
2025-06-26 01:17:45 +02:00
parent 18d7fe8caa
commit 274b49dd27
9 changed files with 89 additions and 112 deletions

View File

@@ -66,7 +66,7 @@ export async function createAuthProvider(user: string, intents: string[], stream
authData.onRefresh(async (user, token) => {
console.info(`Successfully refreshed auth for user ${user}`);
await updateAuthRecord(user, token.scope, token);
await updateAuthRecord(user, token);
});
authData.onRefreshFailure((user, err) => {