diff --git a/docsfera.json b/docsfera.json index d4edd0b..3c7c8b9 100644 --- a/docsfera.json +++ b/docsfera.json @@ -3275,7 +3275,7 @@ ] } }, - "/mixpanel/{id}": { + "/trackEvent/{id}": { "post": { "operationId": "MixpanelController_trackEvent", "parameters": [], @@ -3290,7 +3290,7 @@ "info": { "title": "Maestro - ft/mixpanel-track", "description": "Documentation for Maestro gateway", - "version": "9.11.2022 - 20:34", + "version": "9.11.2022 - 20:46", "contact": {} }, "tags": [], diff --git a/src/modules/mixpanel/mixpanel.controller.ts b/src/modules/mixpanel/mixpanel.controller.ts index 4fb5cf6..e7005ee 100644 --- a/src/modules/mixpanel/mixpanel.controller.ts +++ b/src/modules/mixpanel/mixpanel.controller.ts @@ -2,7 +2,7 @@ import { Body, Controller, Inject, Param, Post } from '@nestjs/common'; import { init } from 'mixpanel'; import { RequestUser, User } from 'src/authentication/user.decorator'; -@Controller('mixpanel') +@Controller('trackEvent') export class MixpanelController { constructor( @Inject('MIXPANEL_TOKEN')