mirror of
https://gitlab.com/qwerinope/qweribot.git
synced 2026-02-04 14:06:59 +01:00
change databases from surrealdb to pocketbase
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user