BugFixes bzgl. Observables, Logging Anpassungen, Endpunkt hardening, dotenv-flow usage
This commit is contained in:
@@ -11,10 +11,9 @@ export class EventController {
|
||||
@Ip() userIp: string, // IP Adresse des Clients
|
||||
@Headers('user-agent') userAgent: string, // User-Agent des Clients
|
||||
) {
|
||||
//const { listingId, userId, eventType, locationCountry, locationCity, locationLat, locationLng, referrer, additionalData } = body;
|
||||
event.userIp = userIp;
|
||||
event.userAgent = userAgent;
|
||||
this.eventService.createEvent(event);
|
||||
await this.eventService.createEvent(event);
|
||||
return { message: 'Event gespeichert' };
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user