Skip to content

Commit

Permalink
Tidied syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewbrazzatti committed May 31, 2024
1 parent b4e11cd commit af53f1d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions typescript/api/services/VocabService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,7 @@ export module Services {
let fieldsToMap = _.get(options, 'fieldsToMap');

let queryString = compiledTemplate({ user: user });
let mintObs = this.findInMint(sourceType, queryString);
let mintResponse = await mintObs;
let mintResponse = await this.findInMint(sourceType, queryString);
let responseDocs = _.get(mintResponse, 'response.docs');
if (_.isArray(responseDocs) && responseDocs.length > 0) {

Expand Down

0 comments on commit af53f1d

Please sign in to comment.