@yemi33/minions 0.1.17 → 0.1.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/dashboard/js/render-inbox.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -168,7 +168,7 @@ async function submitQuickNote() {
|
|
|
168
168
|
try {
|
|
169
169
|
const res = await fetch('/api/notes', {
|
|
170
170
|
method: 'POST', headers: { 'Content-Type': 'application/json' },
|
|
171
|
-
body: JSON.stringify({ title: title || 'Quick note',
|
|
171
|
+
body: JSON.stringify({ title: title || 'Quick note', what: content || title })
|
|
172
172
|
});
|
|
173
173
|
if (res.ok) { closeModal(); refresh(); showToast('cmd-toast', 'Note saved to inbox', true); }
|
|
174
174
|
else { const d = await res.json(); alert('Error: ' + (d.error || 'unknown')); }
|
package/package.json
CHANGED