Skip to content

Commit 6034aba

Browse files
committed
reverted middleware functions changed to support debugging logs
1 parent 9e28ded commit 6034aba

File tree

3 files changed

+9
-11
lines changed

3 files changed

+9
-11
lines changed

frontend/src/features/admin-form/create/builder-and-design/BuilderAndDesignDrawer/FieldListDrawer/field-panels/MyInfoPanel.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,6 @@ export const MyInfoFieldPanel = ({ searchValue }: { searchValue: string }) => {
256256
<DraggableMyInfoFieldListOption
257257
index={originalIndex}
258258
isDisabled={isDisabledCheck(fieldType)}
259-
isDisabled={false}
260259
key={originalIndex}
261260
fieldType={fieldType}
262261
/>

src/app/modules/submission/encrypt-submission/encrypt-submission.middleware.ts

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -420,19 +420,17 @@ export const validateStorageSubmission = async (
420420
.andThen(MyInfoService.verifyLoginJwt)
421421
.asyncAndThen(({ uinFin }) =>
422422
MyInfoService.fetchMyInfoHashes(uinFin, form._id)
423-
.andThen((hashes) => {
424-
return MyInfoService.checkMyInfoHashes(
423+
.andThen((hashes) =>
424+
MyInfoService.checkMyInfoHashes(
425425
parsedResponses.responses,
426426
hashes,
427-
)
428-
})
427+
),
428+
)
429429
.map<IPopulatedStorageFormWithResponsesAndHash>(
430-
(hashedFields) => {
431-
return {
432-
hashedFields,
433-
parsedResponses,
434-
}
435-
},
430+
(hashedFields) => ({
431+
hashedFields,
432+
parsedResponses,
433+
}),
436434
),
437435
)
438436
.mapErr((error) => {

src/app/services/mail/mail.service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -795,6 +795,7 @@ export class MailService {
795795
>[]
796796
> => {
797797
// Data to render both the submission details mail HTML body and PDF.
798+
798799
const renderData: AutoreplySummaryRenderData = {
799800
refNo: submission.id,
800801
formTitle: form.title,

0 commit comments

Comments
 (0)