From d4c338e04efbd1d62a166371bf74cef557bdfd43 Mon Sep 17 00:00:00 2001 From: Moriz Wahl Date: Tue, 6 Sep 2022 18:50:33 +0200 Subject: [PATCH] add save categories mutation --- webapp/graphql/SaveCategories.js | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 webapp/graphql/SaveCategories.js diff --git a/webapp/graphql/SaveCategories.js b/webapp/graphql/SaveCategories.js new file mode 100644 index 000000000..6154dacbc --- /dev/null +++ b/webapp/graphql/SaveCategories.js @@ -0,0 +1,9 @@ +import gql from 'graphql-tag' + +export default () => { + return gql` + mutation($activeCategories: [String]) { + saveCategorySettings(activeCategories: $activeCategories) + } + ` +}