Remove NotificationSettings table (#5036
* helper * Add script to move notification settings * wip, removal of NotificationSettings * event name * iteration * test * test * Remove last of NotificationSettings model * refactor * More fixes * snapshots * Change emails to class instances for type safety * test * docs * Update migration for self-hosted * tsc
This commit is contained in:
@@ -80,14 +80,14 @@ export default async function userInviter({
|
||||
ip,
|
||||
});
|
||||
|
||||
await InviteEmail.schedule({
|
||||
await new InviteEmail({
|
||||
to: invite.email,
|
||||
name: invite.name,
|
||||
actorName: user.name,
|
||||
actorEmail: user.email,
|
||||
teamName: team.name,
|
||||
teamUrl: team.url,
|
||||
});
|
||||
}).schedule();
|
||||
|
||||
if (env.ENVIRONMENT === "development") {
|
||||
Logger.info(
|
||||
|
||||
Reference in New Issue
Block a user