From f62754b5823be682de6dbf7c4df73c06a98eae53 Mon Sep 17 00:00:00 2001 From: Edoardo Sabadelli Date: Thu, 14 Sep 2023 16:43:05 +0200 Subject: [PATCH] fix: make sure user is removed from payload Better than relying on apps not fetching the user information when loading a visualization. --- src/components/FileMenu/utils.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/FileMenu/utils.js b/src/components/FileMenu/utils.js index 7fe272aed..424f7f43e 100644 --- a/src/components/FileMenu/utils.js +++ b/src/components/FileMenu/utils.js @@ -44,6 +44,7 @@ export const preparePayloadForSaveAs = ({ ...visualization }) => { delete visualization.id delete visualization.created delete visualization.createdBy + delete visualization.user return visualization }