mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-09-13 10:00:44 +02:00
updated code comments and fixed checkApiError legacy calls
This commit is contained in:
@@ -31,13 +31,13 @@ export function docsListAuthMethods(collection) {
|
||||
|
||||
try {
|
||||
data.authMethods = await app.pb.collection(collection.name).listAuthMethods();
|
||||
data.isLoading = false;
|
||||
} catch (err) {
|
||||
if (err.isAbort) {
|
||||
app.pb.checkApiError(err);
|
||||
if (!err?.isAbort) {
|
||||
app.checkApiError(err);
|
||||
data.isLoading = false;
|
||||
}
|
||||
}
|
||||
|
||||
data.isLoading = false;
|
||||
}
|
||||
|
||||
return t.div(
|
||||
|
||||
Reference in New Issue
Block a user