Commit c23db4e
fix(sushi): use parameterized GraphQL variables in findToken
Build the find-token request with a parameterized GraphQL query and variables instead of interpolating args.search into the query string. This treats the input as data rather than query syntax and removes the manual JSON escaping. No change to the returned result shape.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 0fe026b commit c23db4e
1 file changed
Lines changed: 11 additions & 1 deletion
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
60 | 70 | | |
61 | 71 | | |
62 | 72 | | |
| |||
0 commit comments