Skip to content

Commit

Permalink
chore: add TODO comments linking to issue #3964
Browse files Browse the repository at this point in the history
  • Loading branch information
hanstirtaputra committed Jun 28, 2022
1 parent 082dd0a commit 8da761c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/modules/feedback/feedback.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ const validateSubmitFormFeedbackParams = celebrate({
* @returns 422 if duplicate feedback with the same submissionId and formId exists
* @returns 410 if form has been archived
* @returns 500 if database error occurs
*
* TODO #3964: Rename to `submitFormFeedback` once we fully migrate feedback endpoint to /submissions/{submissionId}/feedback
*/
const submitFormFeedbackV2: ControllerHandler<
{ formId: string; submissionId: string },
Expand Down
2 changes: 2 additions & 0 deletions src/app/modules/form/public-form/public-form.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ const validateSubmitFormFeedbackParams = celebrate({

/**
* @deprecated use submitFormFeedbackV2 instead
*
* TODO #3964: Cleanup we fully migrate feedback endpoint to /submissions/{submissionId}/feedback
*/
export const submitFormFeedback: ControllerHandler<
{ formId: string },
Expand Down

0 comments on commit 8da761c

Please sign in to comment.