Skip to content

Commit

Permalink
Fix import for prisma client
Browse files Browse the repository at this point in the history
  • Loading branch information
tnagorra committed Apr 15, 2024
1 parent f2cba70 commit cb2a5ee
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/prisma.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { PrismaClient } from ".prisma/client";
import { PrismaClient } from "@prisma/client";

declare global {
var prisma: PrismaClient | undefined;
Expand Down
2 changes: 1 addition & 1 deletion lib/xml/helpers.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Alert } from ".prisma/client";
import { Alert } from "@prisma/client";
import { Capgen } from "capgen";
import { XMLBuilder } from "fast-xml-parser";

Expand Down
2 changes: 1 addition & 1 deletion lib/xml/sign.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { webcrypto } from "node:crypto";
import { Application, Parse, SignedXml } from "xmldsigjs";

import { Alert } from ".prisma/client";
import { Alert } from "@prisma/client";
import { getPrivateKey } from "../crypto";
import { formatAlertAsXML } from "./helpers";
import { CAPV12JSONSchema } from "../types/cap.schema";
Expand Down
2 changes: 1 addition & 1 deletion pages/api/user/alertingAuthorities.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AlertingAuthority } from ".prisma/client";
import { AlertingAuthority } from "@prisma/client";
import { randomBytes, randomUUID } from "crypto";
import type { NextApiRequest, NextApiResponse } from "next";
import { getServerSession } from "next-auth";
Expand Down

0 comments on commit cb2a5ee

Please sign in to comment.