Skip to content

Commit

Permalink
fixing project name for quick add
Browse files Browse the repository at this point in the history
  • Loading branch information
jamie-houston authored and grinstantin committed Oct 15, 2022
1 parent 00e2b6a commit fd41233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion todoist-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ class TodoistCard extends LitElement {
this.hass
.callService('rest_command', 'todoist', {
url: 'quick/add',
payload: 'text=' + value + ' #' + state.attributes.project.name,
payload: 'text=' + value + ' #' + state.attributes.project.name.replaceAll(' ',''),
})
.then(response => {
input.value = '';
Expand Down

0 comments on commit fd41233

Please sign in to comment.