🐛 default session activites
This commit is contained in:
parent
c378724bf3
commit
1e21f05206
@ -94,6 +94,7 @@ export async function onIdentify(this: WebSocket, data: Payload) {
|
|||||||
os: identify.properties?.os,
|
os: identify.properties?.os,
|
||||||
version: 0,
|
version: 0,
|
||||||
},
|
},
|
||||||
|
activities: [],
|
||||||
}).save(),
|
}).save(),
|
||||||
Application.findOne({ id: this.user_id }),
|
Application.findOne({ id: this.user_id }),
|
||||||
]);
|
]);
|
||||||
|
@ -23,7 +23,7 @@ export class Session extends BaseClass {
|
|||||||
session_id: string;
|
session_id: string;
|
||||||
|
|
||||||
@Column({ type: "simple-json", nullable: true })
|
@Column({ type: "simple-json", nullable: true })
|
||||||
activities: Activity[] = [];
|
activities: Activity[];
|
||||||
|
|
||||||
// TODO client_status
|
// TODO client_status
|
||||||
@Column({ type: "simple-json", select: false })
|
@Column({ type: "simple-json", select: false })
|
||||||
|
Loading…
x
Reference in New Issue
Block a user