Skip to content

Commit

Permalink
SIMSBIOHUB-379: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
curtisupshall committed Dec 8, 2023
1 parent 35a680a commit 85a2aa4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/src/services/search-index-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ export class SearchIndexService extends DBService {
}

async indexFeaturesBySubmissionId(submissionId: number): Promise<void> {
const submissionService = new SubmissionRepository(this.connection);
const features = await submissionService.getFeatureRecordsBySubmissionId(submissionId);
const submissionRepository = new SubmissionRepository(this.connection);
const features = await submissionRepository.getFeatureRecordsBySubmissionId(submissionId);

Check warning on line 20 in api/src/services/search-index-service.ts

View check run for this annotation

Codecov / codecov/patch

api/src/services/search-index-service.ts#L19-L20

Added lines #L19 - L20 were not covered by tests

const datetimeRecords: InsertDatetimeSearchableRecord[] = [];
const numberRecords: InsertNumberSearchableRecord[] = [];
Expand Down

0 comments on commit 85a2aa4

Please sign in to comment.