webhook 测试通知
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 877
- Forks
- 107
- PR merge metrics
- No merged PRs in 30d
Description
一直测试失败,查了下代码,发现测试通知接口是使用固定webhookData,而不是自定义的body template
src/app/api/settings/notifications/test/route.ts 165行
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in src/app/api/settings/notifications/test/route.ts around line 165 and inspect how the test notification builds its webhook payload. Compare the fixed webhookData with the configured custom body template. Done means the test notification uses the custom template and the webhook test no longer fails for that configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100