Skip to content

Commit ca6c51d

Browse files
committed
Ran prettier
1 parent de1ec64 commit ca6c51d

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

src/management-system-v2/lib/data/db/machine-config.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ export async function addMachineConfigVersion(
526526
previousMachine: Parameter,
527527
currentMachine: Parameter,
528528
versionNo: Int,
529-
) { }
529+
) {}
530530

531531
// TODO rework: versioning
532532
/**
@@ -2025,8 +2025,8 @@ export async function updateParameter(
20252025
// make sure to remove backlinks from unlinked parameters
20262026
let linkIds = parameter.transformation
20272027
? Object.values(parameter.transformation.linkedInputParameters).map(
2028-
({ id }: { id: any }) => id,
2029-
)
2028+
({ id }: { id: any }) => id,
2029+
)
20302030
: [];
20312031
const removedIds = linkIds.filter(
20322032
(id) =>
@@ -2181,8 +2181,8 @@ export async function convertParameterType(
21812181
inputParam.id === parameterId
21822182
? { data: { value: (newParameter as Parameter).value ?? updatedParameter.value } }
21832183
: await db.configParameter.findUnique({
2184-
where: { id: inputParam.id },
2185-
});
2184+
where: { id: inputParam.id },
2185+
});
21862186

21872187
// convert to number if possible
21882188
inputValues[key.substring(1)] = possiblyNumber(
@@ -2310,7 +2310,7 @@ export async function removeParameter(parameterId: string) {
23102310
const parameterPath = findPathToParameter(parameter.id, fullConfig, [], 'config');
23112311
if (
23122312
parameterPath.slice(0, 2).toString() ==
2313-
['identity-and-access-management', 'common-user-data'].toString() &&
2313+
['identity-and-access-management', 'common-user-data'].toString() &&
23142314
fullConfig.configType == 'organization'
23152315
) {
23162316
await removeCommonUserDataPropagation(parameterPath.slice(2), fullConfig);
@@ -2404,7 +2404,7 @@ export async function removeConfigVersion(configId: string, versionNo: number) {
24042404
const error = e as Error;
24052405
throw userError(
24062406
error.message ??
2407-
`There was an error removing the config versions: ${configId}-${versionNo}`,
2407+
`There was an error removing the config versions: ${configId}-${versionNo}`,
24082408
);
24092409
}
24102410
} else {

0 commit comments

Comments
 (0)