refactor schema to match database schema
This commit is contained in:
@@ -28,7 +28,7 @@ export class ServiceAndCategorySchema extends PothosSchema {
|
||||
service: t.relation('service', {
|
||||
description: 'The service for the service and category.',
|
||||
}),
|
||||
subCategory: t.relation('SubCategory', {
|
||||
subCategory: t.relation('subCategory', {
|
||||
description: 'The sub category for the service and category.',
|
||||
}),
|
||||
subCategoryId: t.exposeID('subCategoryId', {
|
||||
|
||||
Reference in New Issue
Block a user