Skip to content

Commit 6e8dbad

Browse files
author
qweliant
committed
fix: rmv expression from argument expressions
1 parent 327a3fc commit 6e8dbad

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

core/prisma/exampleCommunitySeeds/unjournal.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,17 @@ import { faker } from "@faker-js/faker";
22
import { PrismaClient, PubType } from "@prisma/client";
33
import { v4 as uuidv4 } from "uuid";
44

5-
import type { db as kyselyDb } from "~/kysely/database";
65
import type { CommunitiesId } from "~/kysely/types/public/Communities";
76
import type { PubTypesId } from "~/kysely/types/public/PubTypes";
87
import { corePubFields } from "~/actions/corePubFields";
8+
import { db } from "~/kysely/database";
99
import { StagesId } from "~/kysely/types/public/Stages";
1010
import { env } from "../../lib/env/env.mjs";
1111
import { FileUpload } from "../../lib/fields/fileUpload";
1212

1313
export const unJournalId = "03e7a5fd-bdca-4682-9221-3a69992c1f3b";
1414

1515
export default async function main(
16-
db: typeof kyselyDb,
1716
prisma: PrismaClient,
1817
communityUUID: string
1918
) {

core/prisma/seed.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ async function main() {
6767
logger.info("build crocroc");
6868
await buildCrocCroc(db, crocCrocId);
6969
logger.info("build unjournal");
70-
await buildUnjournal(db, prisma, unJournalId);
70+
await buildUnjournal(prisma, unJournalId);
7171

7272
try {
7373
await createUserMembers(

0 commit comments

Comments
 (0)