From d624268a859806f17b049d6840dc7571a4cd4c68 Mon Sep 17 00:00:00 2001 From: knighthawk4227 Date: Wed, 1 Oct 2025 12:40:49 -0700 Subject: [PATCH] WIP: NitradoAPI changes before merging origin/typescript --- src/util/NitradoAPI.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/util/NitradoAPI.ts b/src/util/NitradoAPI.ts index a0fa61b..661a06c 100644 --- a/src/util/NitradoAPI.ts +++ b/src/util/NitradoAPI.ts @@ -337,7 +337,7 @@ export const CheckServerStatus = async (nitrado_cred: any, client: any) => }; export const DisableBaseDamage = async (nitrado_cred: any, - client: any, + client: any, preference: any) => { const pref = preference ? "1" : "0"; const posted = await module.exports.PostServerSettings(nitrado_cred, client, "config", "disableBaseDamage", pref); @@ -366,9 +366,11 @@ export const DisableBaseDamage = async (nitrado_cred: any, return 0; }; -export const DisableContainerDamage = async (nitrado_cred: any, - client: any, - preference: any) => { +export const DisableContainerDamage = async ( + nitrado_cred: any, + client: any, + preference: any) => +{ const pref = preference ? "1" : "0"; const posted = await module.exports.PostServerSettings(nitrado_cred, client, "config", "disableContainerDamage", pref);