From 020388c87d62c45aaf5798180359ab8cf092b641 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A2=AB=E9=81=97=E5=BF=98=E7=9A=84=E8=AE=B0=E5=BF=86?= <32097237+YIWANG-sketch@users.noreply.github.com> Date: Tue, 2 Jul 2024 22:16:43 +0800 Subject: [PATCH] Add import uuid --- index.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/index.mjs b/index.mjs index 52b44ba..a4a0374 100644 --- a/index.mjs +++ b/index.mjs @@ -2,6 +2,7 @@ import express from "express"; import { createEvent } from "./utils.mjs"; import YouProvider from "./provider.mjs"; import localtunnel from 'localtunnel'; +import { v4 as uuidv4 } from 'uuid'; const app = express(); const port = process.env.PORT || 8080; const validApiKey = process.env.PASSWORD;