-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: Migrate the rest of the filters to handleEncryptedSubmission #1474
Conversation
src/app/modules/submission/encrypt-submission/encrypt-submission.controller.ts
Outdated
Show resolved
Hide resolved
src/app/modules/submission/encrypt-submission/encrypt-submission.controller.ts
Outdated
Show resolved
Hide resolved
src/app/modules/submission/encrypt-submission/encrypt-submission.controller.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe all these filters are used elsewhere in the code, so not deleting them yet.
thanks for pointing this out - could we get your help to update those to use the same controller pattern too? perhaps in a separate PR...
Code LGTM, to re-approve after tests pass
@liangyuanruo fixed tests :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM barring minor merge conflicts
Problem
Part of the set of pull requests that addresses #149
Solution
Migrate
VerifiedContentMiddleware.encryptVerifiedSpcpFields
,EncryptSubmissionMiddleware.prepareEncryptSubmission
,encryptSubmissions.saveResponseToDb
,webhookVerifiedContentFactory.post
,SubmissionsMiddleware.sendEmailConfirmations
.I believe all these filters are used elsewhere in the code, so not deleting them yet.