diff --git a/packages/server/src/api/routes/tests/table.spec.ts b/packages/server/src/api/routes/tests/table.spec.ts index 9129fd14c3..62efdda448 100644 --- a/packages/server/src/api/routes/tests/table.spec.ts +++ b/packages/server/src/api/routes/tests/table.spec.ts @@ -16,7 +16,7 @@ import { import { checkBuilderEndpoint } from "./utilities/TestFunctions" import * as setup from "./utilities" import sdk from "../../../sdk" -import uuid from "uuid" +import * as uuid from "uuid" const { basicTable } = setup.structures diff --git a/packages/server/src/db/newid.ts b/packages/server/src/db/newid.ts index 0037bc0353..bc8f3bb04b 100644 --- a/packages/server/src/db/newid.ts +++ b/packages/server/src/db/newid.ts @@ -1,4 +1,4 @@ -const { v4 } = require("uuid") +import { v4 } from "uuid" export default function (): string { return v4().replace(/-/g, "")