mirror of
https://github.com/bitwarden/browser.git
synced 2024-09-13 01:58:44 +02:00
use regualar fetch for hibp apis
This commit is contained in:
parent
d0ad865060
commit
04f6b44d54
@ -28,7 +28,7 @@ export class AuditService implements AuditServiceAbstraction {
|
||||
}
|
||||
|
||||
async breachedAccounts(username: string): Promise<BreachAccountResponse[]> {
|
||||
const response = await this.apiService.fetch(new Request(HibpBreachApi + username));
|
||||
const response = await fetch(new Request(HibpBreachApi + username));
|
||||
if (response.status === 404) {
|
||||
return [];
|
||||
} else if (response.status !== 200) {
|
||||
|
Loading…
Reference in New Issue
Block a user