From dc3a1a05d3093ae37bb9b36877eccdddc98ce957 Mon Sep 17 00:00:00 2001 From: Dragory <2606411+Dragory@users.noreply.github.com> Date: Thu, 7 Jan 2021 20:15:25 +0200 Subject: [PATCH] Fix PluginApi.webserver being undefined --- src/plugins.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins.js b/src/plugins.js index 15d525a..2c32f16 100644 --- a/src/plugins.js +++ b/src/plugins.js @@ -3,7 +3,7 @@ const logs = require("./data/logs"); const { beforeNewThread } = require("./hooks/beforeNewThread"); const { afterThreadClose } = require("./hooks/afterThreadClose"); const formats = require("./formatters"); -const { server: webserver } = require("./modules/webserver"); +const webserver = require("./modules/webserver"); const childProcess = require("child_process"); const pacote = require("pacote"); const path = require("path");