diff --git a/src/libs/API/parameters/AddCommentOrAttachementParams.ts b/src/libs/API/parameters/AddCommentOrAttachementParams.ts index 335df4f91fe2..d1b653f26de1 100644 --- a/src/libs/API/parameters/AddCommentOrAttachementParams.ts +++ b/src/libs/API/parameters/AddCommentOrAttachementParams.ts @@ -9,6 +9,7 @@ type AddCommentOrAttachementParams = { timezone?: string; clientCreatedTime?: string; isOldDotConciergeChat?: boolean; + idempotencyKey?: string; }; export default AddCommentOrAttachementParams; diff --git a/src/libs/actions/Report.ts b/src/libs/actions/Report.ts index e53cac804b90..042bac043c62 100644 --- a/src/libs/actions/Report.ts +++ b/src/libs/actions/Report.ts @@ -515,6 +515,7 @@ function addActions(reportID: string, text = '', file?: FileObject) { reportComment: reportCommentText, file, clientCreatedTime: file ? attachmentAction?.created : reportCommentAction?.created, + idempotencyKey: Str.guid(), }; if (reportIDDeeplinkedFromOldDot === reportID && ReportUtils.isConciergeChatReport(report)) {