Commit c089b6e
Fixed subscribe claim parameter set
If you follow this guide and set claim mercure `subscribe` with single string - you get following error from mercure: `json: cannot unmarshal string into Go struct field mercureClaim.subscribe of type []string`
Subscribe parameter is array, not single string.
You can verfiy this in official example: https://github.com/dunglas/mercure/blob/master/examples/publisher-php.php
Just decode `DEMO_JWT` and see content1 parent a2a60f4 commit c089b6e
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
400 | 400 | | |
401 | 401 | | |
402 | 402 | | |
403 | | - | |
| 403 | + | |
404 | 404 | | |
405 | 405 | | |
406 | 406 | | |
| |||
0 commit comments