From 19a9abe4b55ca25dce36dee80de2974e6346c239 Mon Sep 17 00:00:00 2001 From: Martin Sottnik Date: Thu, 14 Mar 2024 14:48:31 +0100 Subject: [PATCH] csv import fix (#414) --- src/schema/device.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/schema/device.ts b/src/schema/device.ts index 6f0e8b65..f6a22876 100644 --- a/src/schema/device.ts +++ b/src/schema/device.ts @@ -571,8 +571,7 @@ export const CSVImportMutation = extendType({ port: dev.port_number, software: dev.device_type, softwareVersion: dev.version, - // we do this to remove whitespace - mountParameters: JSON.stringify(JSON.parse(parsedTemplate(dev))), + mountParameters: JSON.parse(parsedTemplate(dev)), }; }), });