From a1fdff8df8633e5a9f531be2c47b765118d72c17 Mon Sep 17 00:00:00 2001 From: Dean Date: Thu, 4 May 2023 12:25:30 +0100 Subject: [PATCH] Linting --- packages/server/src/utilities/rowProcessor/map.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/server/src/utilities/rowProcessor/map.ts b/packages/server/src/utilities/rowProcessor/map.ts index d3572094c6..cbf1c3ae36 100644 --- a/packages/server/src/utilities/rowProcessor/map.ts +++ b/packages/server/src/utilities/rowProcessor/map.ts @@ -70,17 +70,17 @@ export const TYPE_TRANSFORM_MAP: any = { "": [], [null]: [], [undefined]: undefined, - parse: (attachments) => { - if(typeof attachments === "string"){ + parse: attachments => { + if (typeof attachments === "string") { let result = attachments try { result = JSON.parse(attachments) } catch (e) { console.error("Could not parse attachments", e) } - return result; + return result } - } + }, }, [FieldTypes.BOOLEAN]: { "": null,