refactor: run formatter

This commit is contained in:
Elias Schneider
2025-01-04 01:28:05 +01:00
parent b3ea96c191
commit bf1b2633c8
9 changed files with 99 additions and 85 deletions

View File

@@ -31,8 +31,7 @@ const get = (key: string, configVariables: Config[]): any => {
if (configVariable.type == "boolean") return value == "true";
if (configVariable.type == "string" || configVariable.type == "text")
return value;
if (configVariable.type == "timespan")
return stringToTimespan(value);
if (configVariable.type == "timespan") return stringToTimespan(value);
};
const finishSetup = async (): Promise<AdminConfig[]> => {