Skip to content

Commit

Permalink
fix issue in generator remove ,
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmedElywa committed Aug 18, 2020
1 parent cceb293 commit 5545231
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/generator/src/nexus/templates/aggregate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const staticData = `('aggregate#{Model}', {
nullable: true,
args: {
where: '#{Model}WhereInput',
orderBy: #{schema}arg({ type: '#{Model}OrderByInput', list: true }),,
orderBy: #{schema}arg({ type: '#{Model}OrderByInput', list: true }),
cursor: '#{Model}WhereUniqueInput',
skip: 'Int',
take: 'Int',
Expand Down
2 changes: 1 addition & 1 deletion packages/generator/src/nexus/templates/findCount.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const staticData = `('findMany#{Model}Count', {
type: 'Int',
args: {
where: '#{Model}WhereInput',
orderBy: #{schema}arg({ type: '#{Model}OrderByInput', list: true }),,
orderBy: #{schema}arg({ type: '#{Model}OrderByInput', list: true }),
cursor: '#{Model}WhereUniqueInput',
skip: 'Int',
take: 'Int',
Expand Down
2 changes: 1 addition & 1 deletion packages/generator/src/nexus/templates/findMany.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const staticData = `('findMany#{Model}', {
list: true,
args: {
where: '#{Model}WhereInput',
orderBy: #{schema}arg({ type: '#{Model}OrderByInput', list: true }),,
orderBy: #{schema}arg({ type: '#{Model}OrderByInput', list: true }),
cursor: '#{Model}WhereUniqueInput',
skip: 'Int',
take: 'Int',
Expand Down

0 comments on commit 5545231

Please sign in to comment.