stash
This commit is contained in:
parent
22740aadf5
commit
d3907d0d0f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue