mirror of
https://gitea.com/gitea/docs.git
synced 2026-09-17 19:55:34 +00:00
Fix JSON syntax error in token creation request
The previous JSON was malformed:
{"name":test_token","scopes":[...]}
The value of "name" was missing opening quotes, causing the error:
invalid character 't' looking for beginning of value
Fixed by enclosing the string in double quotes:
{"name":"test_token","scopes":[...]}
Reviewed-on: https://gitea.com/gitea/docs/pulls/269
Reviewed-by: techknowlogick <[email protected]>
Co-authored-by: desysoft <[email protected]>
Co-committed-by: desysoft <[email protected]>