fix: load environment variables in the worker script

This commit is contained in:
QAComet
2024-01-01 15:09:55 -07:00
parent 254c090605
commit 3fc61ac5ce
3 changed files with 7 additions and 0 deletions
+1
View File
@@ -1,3 +1,4 @@
import 'dotenv/config';
import { Collection, Link, User } from "@prisma/client";
import { prisma } from "../lib/api/db";
import archiveHandler from "../lib/api/archiveHandler";