use regualar fetch for hibp apis

This commit is contained in:
Kyle Spearrin 2018-09-11 15:54:18 -04:00
parent d0ad865060
commit 04f6b44d54
1 changed files with 1 additions and 1 deletions

View File

@ -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) {