From d3907d0d0f9d08143d3c00bd6c78944a8e787268 Mon Sep 17 00:00:00 2001 From: jedi Date: Sun, 9 Jun 2024 19:09:32 +0200 Subject: [PATCH] stash --- web/src/store.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/store.js b/web/src/store.js index 224fdc3..c1865bc 100644 --- a/web/src/store.js +++ b/web/src/store.js @@ -445,7 +445,7 @@ const store = createStore({ } }, async createMessageTemplate({commit, state}, template_name) { - const {data, success} = await http.post('/2/message_templates/', {name: template_name, message: ''}, state.user.token); + const {data, success} = await http.post('/2/message_templates/', {name: template_name, message: ' '}, state.user.token); const {data: newTemplates, success: newSuccess} = await http.get('/2/message_templates/', state.user.token); if (data && success) { commit('setMessageTemplates', data);