diff --git a/claims/linking/bulkClaim/bulkClaim.component.ts b/claims/linking/bulkClaim/bulkClaim.component.ts index fdce3997..29f20728 100644 --- a/claims/linking/bulkClaim/bulkClaim.component.ts +++ b/claims/linking/bulkClaim/bulkClaim.component.ts @@ -226,7 +226,7 @@ export class BulkClaimComponent { } makeFileRequest(url: string, params: Array, files: Array) { - return new Promise((resolve, reject) => { + return new Promise((resolve, reject) => { const formData: any = new FormData(); const xhr = new XMLHttpRequest(); for (let i = 0; i < files.length; i++) { diff --git a/searchPages/searchResearchResults.component.ts b/searchPages/searchResearchResults.component.ts index 20faaf4f..437eb96a 100644 --- a/searchPages/searchResearchResults.component.ts +++ b/searchPages/searchResearchResults.component.ts @@ -210,7 +210,7 @@ export class SearchResearchResultsComponent { } racePromiseWithTimeout() { - const timeoutPromise = new Promise((_, reject) => { + const timeoutPromise = new Promise((_, reject) => { this.timeoutId = setTimeout(() => { this.publicCommunities = []; reject(new Error('Request timed out'));