Skip to content

Commit

Permalink
fix: make sure user is removed from payload
Browse files Browse the repository at this point in the history
Better than relying on apps not fetching the user information when
loading a visualization.
  • Loading branch information
edoardo committed Sep 14, 2023
1 parent f4c5c7c commit f62754b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/FileMenu/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export const preparePayloadForSaveAs = ({ ...visualization }) => {
delete visualization.id
delete visualization.created
delete visualization.createdBy
delete visualization.user

return visualization
}

0 comments on commit f62754b

Please sign in to comment.