mirror of
https://github.com/dadosfera/maestro.git
synced 2026-10-18 04:19:07 +00:00
FEAT: Mixpanel Tracker
This commit is contained in:
+2
-2
@@ -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": [],
|
||||
|
||||
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user