fix: add return type to sendSubscriptionChangeWebhookSlackNotification method in ProjectService

This commit is contained in:
Simon Larsen
2025-02-03 18:42:08 +00:00
parent e1c45a5c99
commit f32b1950d9

View File

@@ -423,7 +423,7 @@ export class ProjectService extends DatabaseService<Model> {
private async sendSubscriptionChangeWebhookSlackNotification(
projectId: ObjectID,
) {
): Promise<void> {
if (NotificationSlackWebhookOnSubscriptionUpdate) {
// fetch project again.
const project: Model | null = await this.findOneById({