Skip to content

Commit

Permalink
SIMSBIOHUB-379: Promise typing
Browse files Browse the repository at this point in the history
  • Loading branch information
curtisupshall committed Dec 18, 2023
1 parent 2bdd82d commit ed00e7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/services/search-index-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export class SearchIndexService extends DBService {
});
});

const promises = [];
const promises: Promise<any>[] = [];

if (datetimeRecords.length) {
promises.push(this.searchIndexRepository.insertSearchableDatetimeRecords(datetimeRecords));
Expand Down

0 comments on commit ed00e7b

Please sign in to comment.