Skip to content

Commit

Permalink
ON-39929 # Creating timestamp on body
Browse files Browse the repository at this point in the history
  • Loading branch information
jdawg093 committed Apr 30, 2024
1 parent 8670378 commit 59d6dfb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions src/OneBlinkUploader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,6 @@ export default class OneBlinkUploader {
formsAppId,
externalId,
lastElementUpdated,
submissionTimestamp,
onProgress,
abortSignal,
}: UploadFormSubmissionOptions & {
Expand All @@ -247,7 +246,7 @@ export default class OneBlinkUploader {
lastElementUpdated,
externalId,
device,
submissionTimestamp,
submissionTimestamp: new Date().toISOString(),
}),
key: `forms/${definition.id}/drafts`,
tags: generateFormSubmissionTags({
Expand Down
2 changes: 0 additions & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ export type UploadFormSubmissionOptions = UploadOptions & {
previousFormSubmissionApprovalId?: string
/** The identifier of the job that will be marked as submitted */
jobId?: string
/** The iso string from when the submission took place */
submissionTimestamp?: string
}

export type UploadAssetOptions = UploadOptions & {
Expand Down

0 comments on commit 59d6dfb

Please sign in to comment.