mirror of
https://github.com/rgrgogu/new_starr.git
synced 2026-09-27 00:12:54 +08:00
fix: mismatch groupId
Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
This commit is contained in:
@@ -227,7 +227,7 @@ exports.register = async (req, res) => {
|
|||||||
userEmail: email,
|
userEmail: email,
|
||||||
}))
|
}))
|
||||||
.catch(err => console.error('[AUTH] Failed to emit user_registration notification:', err));
|
.catch(err => console.error('[AUTH] Failed to emit user_registration notification:', err));
|
||||||
} else if (enrollGroup) {
|
} else if (enrollGroupId) {
|
||||||
AdminNotification.create(NOTIFICATION_REGISTRY.nogrp_user_registered.build({
|
AdminNotification.create(NOTIFICATION_REGISTRY.nogrp_user_registered.build({
|
||||||
userEmail: email,
|
userEmail: email,
|
||||||
regType: 'system',
|
regType: 'system',
|
||||||
|
|||||||
Reference in New Issue
Block a user