Skip to content

Commit 77dee91

Browse files
committed
Fix format
1 parent f17288f commit 77dee91

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

src/cli/helpers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ export function parseStringBoolean(
44
return stringBoolean === "true"
55
? true
66
: stringBoolean === "false"
7-
? false
8-
: undefined;
7+
? false
8+
: undefined;
99
}
1010

1111
export function parseString(

src/generator/resolvers/helpers.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,21 +63,21 @@ export function generateCrudResolverClassMethodDeclaration(
6363
});`,
6464
]
6565
: action.kind === DMMF.ModelAction.groupBy
66-
? [
67-
/* ts */ ` const { _count, _avg, _sum, _min, _max } = transformInfoIntoPrismaArgs(info);`,
68-
/* ts */ ` return getPrismaFromContext(ctx).${mapping.collectionName}.${action.prismaMethod}({
66+
? [
67+
/* ts */ ` const { _count, _avg, _sum, _min, _max } = transformInfoIntoPrismaArgs(info);`,
68+
/* ts */ ` return getPrismaFromContext(ctx).${mapping.collectionName}.${action.prismaMethod}({
6969
...args,
7070
...Object.fromEntries(
7171
Object.entries({ _count, _avg, _sum, _min, _max }).filter(([_, v]) => v != null)
7272
),
7373
});`,
74-
]
75-
: [
76-
/* ts */ ` const { _count } = transformInfoIntoPrismaArgs(info);
74+
]
75+
: [
76+
/* ts */ ` const { _count } = transformInfoIntoPrismaArgs(info);
7777
return getPrismaFromContext(ctx).${mapping.collectionName}.${action.prismaMethod}({
7878
...args,
7979
...(_count && transformCountFieldIntoSelectRelationsCount(_count)),
8080
});`,
81-
],
81+
],
8282
};
8383
}

0 commit comments

Comments
 (0)