Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

Starting to implement the subscriber invite confirmation feature

Yevhenii Kulisidi2f7aacfb8934
diff --git a/src/project/project.controller.ts b/src/project/project.controller.ts
index 8c5ed88d6..c674a42aa 100644
--- a/src/project/project.controller.ts
+++ b/src/project/project.controller.ts
@@ -15,6 +15,7 @@ import {
Headers,
NotImplementedException,
Patch,
+ HttpStatus,
} from '@nestjs/common'
import { ApiTags, ApiQuery, ApiResponse } from '@nestjs/swagger'
import * as _isEmpty from 'lodash/isEmpty'
@@ -838,6 +839,12 @@ export class ProjectController {
})
}
+ @Post(':projectId/subscribers/invite')
+ @HttpCode(HttpStatus.OK)
+ async confirmSubscriberInvite(): Promise<void> {
+ // TODO: Implement
+ }
+
@Get(':projectId/subscribers')
async getSubscribers(
@Param() params: GetSubscribersParamsDto,