Commit c45ff49
Fix webhook registration for topics containing dots
Fixes an issue where webhook topics containing dots (e.g., customer.tags_added,
customer.tags_removed) would fail to register with GraphQL syntax errors.
The problem was an inconsistency in topic name normalization:
- Registration.rb only replaced slashes with underscores
- Registry.rb replaced both slashes and dots with underscores
This caused GraphQL field name errors since dots are invalid in GraphQL field names.
Updated the normalization in Registration.rb to match Registry.rb by replacing
both slashes and dots with underscores.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent e7871ff commit c45ff49
2 files changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
0 commit comments