Skip to content

Commit

Permalink
Fix ERR_UNSUPPORTED_DIR_IMPORT
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewquang512 committed Nov 22, 2023
1 parent 04e866a commit b7d1b44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/prisma/ERD.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/prisma/database.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Prisma
import { PrismaClient } from '../prisma_modules';
import { PrismaClient } from '../prisma_modules/index.js';

export const prisma = new PrismaClient({
...(parseInt(process.env.IS_LOGGING) && {
Expand Down

0 comments on commit b7d1b44

Please sign in to comment.