Skip to content

Commit

Permalink
doc update json body changed
Browse files Browse the repository at this point in the history
  • Loading branch information
arul-fourseals committed Jan 3, 2025
1 parent 742508f commit 9e3ef5e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/grant/grant.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,13 @@ export class GrantService {
index: this.config.get('ELASTIC_INDEX'),
id: grantId,
body: {
'fields.grantUpdated.en-US': false,
doc: {
fields: {
grantUpdated: {
'en-US': false,
}

Check failure on line 48 in src/grant/grant.service.ts

View workflow job for this annotation

GitHub Actions / Build Application

Insert `,`
}

Check failure on line 49 in src/grant/grant.service.ts

View workflow job for this annotation

GitHub Actions / Build Application

Insert `,`
}

Check failure on line 50 in src/grant/grant.service.ts

View workflow job for this annotation

GitHub Actions / Build Application

Insert `,`
},
});
console.log('Grant ID :' + grantId + ' updated to false..');
Expand Down

0 comments on commit 9e3ef5e

Please sign in to comment.