toi cam thay minh la sieu nhan
This commit is contained in:
@@ -173,6 +173,7 @@ export class MessageSchema extends PothosSchema {
|
||||
if (args.input.content.length > 1024) {
|
||||
throw new Error('Content cannot be longer than 1024 characters')
|
||||
}
|
||||
args.input.context = messageContext
|
||||
const message = await this.prisma.message.create({
|
||||
...query,
|
||||
data: args.input,
|
||||
|
||||
Reference in New Issue
Block a user