diff --git a/src/services/audit.service.ts b/src/services/audit.service.ts index 9b7b605765..057be1646e 100644 --- a/src/services/audit.service.ts +++ b/src/services/audit.service.ts @@ -18,7 +18,7 @@ export class AuditService implements AuditServiceAbstraction { const hashStart = hash.substr(0, 5); const hashEnding = hash.substr(5); - const response = await this.apiService.fetch(new Request(PwnedPasswordsApi + hashStart)); + const response = await fetch(new Request(PwnedPasswordsApi + hashStart)); const leakedHashes = await response.text(); const match = leakedHashes.split(/\r?\n/).find((v) => { return v.split(':')[0] === hashEnding;