Skip to content

Commit

Permalink
feat: add fileKey to joi validation
Browse files Browse the repository at this point in the history
  • Loading branch information
LinHuiqing committed Sep 15, 2023
1 parent b7c482d commit 89ea568
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/modules/submission/submission.constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export const sharedSubmissionParams = {
answerArray: Joi.array(),
filename: Joi.string(),
content: Joi.binary(),
fileKey: Joi.string(), // quarantine bucket object key where file has been uploaded to
isHeader: Joi.boolean(),
myInfo: Joi.object(),
signature: Joi.string().allow(''),
Expand Down

0 comments on commit 89ea568

Please sign in to comment.