Skip to content

Commit

Permalink
void
Browse files Browse the repository at this point in the history
  • Loading branch information
KevLehman committed Jun 22, 2023
1 parent 4726200 commit 209697a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/meteor/app/livechat/server/business-hour/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Meteor.startup(async () => {
// but meteor doesn't have "afterLogin" hooks
Accounts.onLogin(async ({ user }: { user: IUser }) =>
setTimeout(async () => {
user?.roles?.includes('livechat-agent') && !user?.roles?.includes('bot') && businessHourManager.onLogin(user._id);
void (user?.roles?.includes('livechat-agent') && !user?.roles?.includes('bot') && businessHourManager.onLogin(user._id));
}, 1000),
);
});

0 comments on commit 209697a

Please sign in to comment.