mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 20:38:52 +00:00
fix(server): always return created timestamp of chat messages (#6658)
This commit is contained in:
@@ -103,8 +103,8 @@ class ChatMessageType implements Partial<ChatMessage> {
|
||||
@Field(() => GraphQLJSON, { nullable: true })
|
||||
params!: Record<string, string> | undefined;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
createdAt!: Date | undefined;
|
||||
@Field(() => Date)
|
||||
createdAt!: Date;
|
||||
}
|
||||
|
||||
@ObjectType('CopilotHistories')
|
||||
|
||||
Reference in New Issue
Block a user