update websocket
This commit is contained in:
@@ -50,7 +50,7 @@ export class WorkshopSubscriptionSchema extends PothosSchema {
|
||||
args: this.builder.generator.findUniqueArgs('WorkshopSubscription'),
|
||||
description:
|
||||
'Retrieve a single workshop subscription by its unique identifier.',
|
||||
resolve: async (query, root, args) => {
|
||||
resolve: async (query, _root, args) => {
|
||||
return await this.prisma.workshopSubscription.findUnique({
|
||||
...query,
|
||||
where: args.where,
|
||||
@@ -62,7 +62,7 @@ export class WorkshopSubscriptionSchema extends PothosSchema {
|
||||
args: this.builder.generator.findManyArgs('WorkshopSubscription'),
|
||||
description:
|
||||
'Retrieve a list of workshop subscriptions with optional filtering, ordering, and pagination.',
|
||||
resolve: async (query, root, args) => {
|
||||
resolve: async (query, _root, args) => {
|
||||
return await this.prisma.workshopSubscription.findMany({
|
||||
...query,
|
||||
skip: args.skip ?? undefined,
|
||||
|
||||
Reference in New Issue
Block a user