Commit Graph
3 Commits
Author SHA1 Message Date
MichilisandClaude Opus 4.8 51d26533b9 Replace axios with native fetch in webhook utils
axios was required by src/utils/message.js and src/utils/webhook.js but was
never declared in package.json, so `npm install` never fetched it and the app
crashed on startup with MODULE_NOT_FOUND.

Switch both webhook POST calls to Node's built-in fetch (available since
Node 18; running on 22.12), removing the missing dependency entirely.
Behavior is preserved: JSON body with Content-Type header, and an explicit
response.ok check to keep axios's throw-on-non-2xx semantics. message.js now
returns parsed JSON (or text fallback) in place of axios's response.data.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 22:31:37 +00:00
MichilisandGitHub a837f58887 Add files via upload 2025-03-01 16:46:45 +01:00
MichilisandGitHub 630346626f Initial commit 2025-03-01 16:45:48 +01:00