FIX: hide internal endpoints

This commit is contained in:
Gabriel Rosa
2023-02-15 13:13:43 -03:00
parent 99288fa805
commit 6a14c2b459
24 changed files with 3864 additions and 4612 deletions
@@ -1,8 +1,10 @@
import { Body, Controller, Inject, Param, Post } from '@nestjs/common';
import { init } from 'mixpanel';
import { Authenticated } from 'src/decorators/authentication.decorator';
import { ApiInternalOnlyController } from 'src/decorators/swagger.decorator';
import { RequestUser, User } from 'src/decorators/user.decorator';
@ApiInternalOnlyController()
@Authenticated()
@Controller('trackEvent')
export class MixpanelController {