mirror of
https://github.com/bitwarden/web
synced 2025-12-14 07:13:23 +00:00
fix twofactorauth.org API path. resolves #422
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: b3d1e9d233...57e49207e9
@@ -76,7 +76,7 @@ export class InactiveTwoFactorReportComponent extends CipherReportComponent impl
|
|||||||
if (this.services.size > 0) {
|
if (this.services.size > 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const response = await fetch(new Request('https://twofactorauth.org/data.json'));
|
const response = await fetch(new Request('https://twofactorauth.org/api/v1/data.json'));
|
||||||
if (response.status !== 200) {
|
if (response.status !== 200) {
|
||||||
throw new Error();
|
throw new Error();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user