small improvement + better error handling

This commit is contained in:
daniel31x13
2023-12-31 07:55:45 -05:00
parent dea1e12700
commit e872c25332
5 changed files with 14 additions and 4 deletions
+1
View File
@@ -598,6 +598,7 @@ if (process.env.NEXT_PUBLIC_KEYCLOAK_ENABLED === "true") {
},
})
);
const _linkAccount = adapter.linkAccount;
adapter.linkAccount = (account) => {
const { "not-before-policy": _, refresh_expires_in, ...data } = account;