Add back worker redeploy notification

This commit is contained in:
ProgrammerIn-wonderland
2026-02-01 21:56:47 -08:00
parent afbb76f95f
commit ac7bd1dbfd

View File

@@ -147,17 +147,15 @@ class WorkerService extends BaseService {
// Send user the appropriate notification
if ( cfData.success ) {
// svc_notification.notify(
// UsernameNotifSelector(actor.type.user.username),
// {
// source: 'worker',
// title: `Succesfully deployed ${cfData.url}`,
// template: 'user-requesting-share',
// fields: {
// username: actor.type.user.username,
// },
// }
// );
svc_notification.notify(UsernameNotifSelector(actor.type.user.username),
{
source: 'worker',
title: `Succesfully deployed ${cfData.url}`,
template: 'user-requesting-share',
fields: {
username: actor.type.user.username,
},
});
} else {
svc_notification.notify(UsernameNotifSelector(actor.type.user.username),
{