refactor(backend): remove unnecessary .then

This commit is contained in:
syuilo
2024-10-13 20:32:02 +09:00
parent ff47fef572
commit 5229f5de4d
4 changed files with 10 additions and 18 deletions

View File

@@ -150,8 +150,8 @@ export class SignupService {
}));
});
this.usersChart.update(account, true).then();
this.userService.notifySystemWebhook(account, 'userCreated').then();
this.usersChart.update(account, true);
this.userService.notifySystemWebhook(account, 'userCreated');
return { account, secret };
}