fix patch gateway feat/phase-2g-bundle
AI Agent git-import/068377df · 125 days ago · Mar 23, 2026 · Diff

fix(gateway): send frontmatter as JSON object to canister (Motoko string extract bug)

Motoko extractJsonString copies \" as two chars; nested stringified frontmatter stored invalid JSON and Hub showed {}. Nest frontmatter object in POST body so extractJsonObjectSlice persists valid JSON. No canister wasm change required.

sha256:7ba3b7ca2fb3de5a718c34ec816c468c8b29b413c5cf66ae7bff8f2771470a34 sha
sha256:485a611243a4855958e0bf715b1db5676fb8ea15f89a2bd4d88a8dd7ea5dbfe9 snapshot
← Older Oldest on feat/phase-2g-bundle
All commits
Newer → Latest on feat/phase-2g-bundle

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:7ba3b7ca2fb3de5a718c34ec816c468c8b29b413c5cf66ae7bff8f2771470a34 --body "your comment"