WIP: NitradoAPI changes before merging origin/typescript
This commit is contained in:
1 parent
f622b94002
commit
d624268a85
1 file changed
+4
-2
@@ -366,9 +366,11 @@ export const DisableBaseDamage = async (nitrado_cred: any,
|
|||||||
return 0;
|
return 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
export const DisableContainerDamage = async (nitrado_cred: any,
|
export const DisableContainerDamage = async (
|
||||||
|
nitrado_cred: any,
|
||||||
client: any,
|
client: any,
|
||||||
preference: any) => {
|
preference: any) =>
|
||||||
|
{
|
||||||
const pref = preference ? "1" : "0";
|
const pref = preference ? "1" : "0";
|
||||||
const posted = await module.exports.PostServerSettings(nitrado_cred,
|
const posted = await module.exports.PostServerSettings(nitrado_cred,
|
||||||
client, "config", "disableContainerDamage", pref);
|
client, "config", "disableContainerDamage", pref);
|
||||||
|
|||||||
Reference in new issue
Block a user