mirror of
https://gitea.com/gitea/docs.git
synced 2026-09-17 19:55:34 +00:00
908a27589d50f7e65037c2af61ffd019d8582f20
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]>
Languages
TypeScript
42.4%
MDX
30.9%
Astro
8.1%
JavaScript
6.4%
Shell
6%
Other
6.2%