Skip to content

Commit

Permalink
chore: modify comment
Browse files Browse the repository at this point in the history
  • Loading branch information
deeonwuli committed Nov 28, 2024
1 parent f4dba9a commit 1cbfb78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/data/repositories/IncidentActionD2Repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ export class IncidentActionD2Repository implements IncidentActionRepository {
return apiToFuture(
this.api.tracker.post(
{ importStrategy: "DELETE" },
// an array of event ids is sufficient for TrackerPostRequest with DELETE importStrategy payload
// an array of event ids is sufficient for TrackerPostRequest with DELETE importStrategy
// @ts-ignore
{ events: events.map(event => ({ event: event })) }
)
Expand Down
2 changes: 1 addition & 1 deletion src/data/repositories/RiskAssessmentD2Repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ export class RiskAssessmentD2Repository implements RiskAssessmentRepository {
return apiToFuture(
this.api.tracker.post(
{ importStrategy: "DELETE" },
// an array of event ids is sufficient for TrackerPostRequest with DELETE importStrategy payload
// an array of event ids is sufficient for TrackerPostRequest with DELETE importStrategy
// @ts-ignore
{ events: events.map(event => ({ event: event })) }
)
Expand Down

0 comments on commit 1cbfb78

Please sign in to comment.