From c62e6ef52dba07c615d8f353abfafb2f22a91427 Mon Sep 17 00:00:00 2001 From: Cedric Date: Wed, 13 May 2026 16:45:25 +0200 Subject: [PATCH] correction note --- modules/memo/assets/memo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/memo/assets/memo.js b/modules/memo/assets/memo.js index 3bdf097..54a2c28 100644 --- a/modules/memo/assets/memo.js +++ b/modules/memo/assets/memo.js @@ -358,7 +358,7 @@ async function saveNote(){ await api('notes','PUT',{title,content,tags},'&id='+editingId); noteId=editingId;toast('Note mise à jour'); }else{ - const r=await api('notes','POST',JSON.stringify({title,content,tags,urls})); + const r=await api('notes','POST',{title,content,tags,urls}); noteId=r.id;toast('Note créée'); }