fix: submission user notification recipients for pseudonym subs
This commit is contained in:
parent
d0befa9ce2
commit
a7b7bdbea7
@ -953,7 +953,7 @@ postCorrectionsCreateR = do
|
||||
, submissionUserSubmission = subId
|
||||
}
|
||||
forM_ spGroup $ \SheetPseudonym{sheetPseudonymUser} -> do
|
||||
hoist (hoist lift) . queueDBJob . JobQueueNotification $ NotificationSubmissionUserCreated uid subId
|
||||
hoist (hoist lift) . queueDBJob . JobQueueNotification $ NotificationSubmissionUserCreated sheetPseudonymUser subId
|
||||
audit $ TransactionSubmissionUserEdit subId sheetPseudonymUser
|
||||
when (genericLength spGroup > maxSize) $
|
||||
addMessageI Warning $ MsgSheetGroupTooLarge sheetGroupDesc
|
||||
@ -998,7 +998,7 @@ postCorrectionsCreateR = do
|
||||
, submissionUserSubmission = subId
|
||||
}
|
||||
forM_ spGroup $ \SheetPseudonym{sheetPseudonymUser} -> do
|
||||
hoist (hoist lift) . queueDBJob . JobQueueNotification $ NotificationSubmissionUserCreated uid subId
|
||||
hoist (hoist lift) . queueDBJob . JobQueueNotification $ NotificationSubmissionUserCreated sheetPseudonymUser subId
|
||||
audit $ TransactionSubmissionUserEdit subId sheetPseudonymUser
|
||||
when (length spGroup > 1) $
|
||||
addMessageI Warning $ MsgSheetNoGroupSubmission sheetGroupDesc
|
||||
|
||||
Loading…
Reference in New Issue
Block a user