mirror of
https://gitea.com/gitea/docs.git
synced 2026-07-27 10:07:29 +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 <techknowlogick@noreply.gitea.com>
Co-authored-by: desysoft <desysoft@noreply.gitea.com>
Co-committed-by: desysoft <desysoft@noreply.gitea.com>
Description
Languages
MDX
62.5%
JavaScript
22.8%
CSS
11.7%
Shell
2%
Makefile
1%