enabled context and fix some api

This commit is contained in:
2024-10-28 20:21:36 +07:00
parent f0e90ba234
commit 5c1d4e92af
10 changed files with 266 additions and 42 deletions

View File

@@ -28,7 +28,7 @@ export class AdminNoteSchema extends PothosSchema {
content: t.exposeString('content', {
description: 'The content of the admin note.',
}),
notedByUserId: t.exposeID('notedByUserId', {
notedByUserId: t.exposeString('notedByUserId', {
description: 'The ID of the user who created the admin note.',
}),
notedBy: t.relation('notedBy', {