updated js-sdk and replaced missing handlers

This commit is contained in:
Gani Georgiev
2026-05-24 16:09:11 +03:00
parent 7984e586a8
commit 5bea84b94b
40 changed files with 217 additions and 229 deletions
+1 -2
View File
@@ -230,8 +230,7 @@ window.app.store = store({
app.store.isLoadingOAuth2Providers = true;
try {
// @todo replace with SDK call
app.store.oauth2Providers = await app.pb.send("/api/collections/meta/oauth2-providers");
app.store.oauth2Providers = await app.pb.collections.getAllOAuth2Providers();
app.store.isLoadingOAuth2Providers = false;
} catch (err) {
if (!err.isAbort) {