FEAT: Mixpanel Tracker

This commit is contained in:
Victor Radael
2022-11-09 20:46:40 -03:00
parent 5ec2c01b20
commit 060ba7da8a
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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": [],
+1 -1
View File
@@ -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')