mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
properly use logger
This commit is contained in:
parent
357588a680
commit
7288bfc7dc
@ -9,7 +9,7 @@ export const writeEvent = async (event: Event): Promise<EventProtocol | null> =>
|
|||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.info(`writeEvent(${JSON.stringify(event)})`)
|
logger.info('writeEvent', event)
|
||||||
const dbEvent = new EventProtocol()
|
const dbEvent = new EventProtocol()
|
||||||
dbEvent.type = event.type
|
dbEvent.type = event.type
|
||||||
dbEvent.createdAt = event.createdAt
|
dbEvent.createdAt = event.createdAt
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user