mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
fix: add return type to sendSubscriptionChangeWebhookSlackNotification method in ProjectService
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user