Compare commits

...

2 Commits

Author SHA1 Message Date
github-actions[bot]
e6de42307a Update CHANGELOG.md 2026-04-20 06:53:54 +00:00
CanbiZ (MickLesk)
d95073f505 PocketBase Bot: fix double-stringify on notes_json patch
notes_json was sent as JSON.stringify(arr) inside JSON.stringify(),
causing PocketBase to receive a string instead of a JSON array.
patchMethods already does it correctly — align patchNotes.
2026-04-20 08:53:34 +02:00
2 changed files with 3 additions and 1 deletions

View File

@@ -388,7 +388,7 @@ jobs:
const res = await request(recordsUrl + '/' + record.id, {
method: 'PATCH',
headers: { 'Authorization': token, 'Content-Type': 'application/json' },
body: JSON.stringify({ notes_json: JSON.stringify(arr) })
body: JSON.stringify({ notes_json: arr })
});
if (!res.ok) {
await addReaction('-1');

View File

@@ -445,6 +445,8 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
</details>
## 2026-04-20
## 2026-04-19
### 🆕 New Scripts