Removed Async to fix last error

Hopefully this should work now.
This commit is contained in:
Vampire Kitten 2024-06-14 02:03:08 +02:00
parent d35172aac6
commit 31469424f1

View File

@ -3,7 +3,7 @@ import path from "path";
import fs from "fs";
const rootDir = path.join(__dirname, "../../..");
const updateConfigData: RequestHandler = async (req) => {
const updateConfigData: RequestHandler = (req) => {
const updateSettingsData = req.body;
fs.writeFile(path.join(rootDir, "config.json"), updateSettingsData, function(err:any) {