We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4d80c7 commit 788427eCopy full SHA for 788427e
src/lib/logging/createGameActivity.ts
@@ -4,7 +4,7 @@ import GameActivity from '../../entities/game-activity'
4
export default async function createGameActivity(em: EntityManager, data: Partial<GameActivity>): Promise<GameActivity> {
5
const activity = new GameActivity(data.game, data.user)
6
activity.type = data.type
7
- if (data.extra) activity.extra = data.extra
+ activity.extra = data.extra
8
9
em.persist(activity)
10
0 commit comments