0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2024-12-24 22:32:43 -05:00

docs: fix syntax error in example JSON returned from request

# Conflicts:
#	v1.20/user/api-usage.md
This commit is contained in:
wackbyte 2023-06-19 21:32:04 -04:00 committed by Caesar Schinas
parent 7f5c6d2bb8
commit 24fe27de85
No known key found for this signature in database
GPG key ID: AE9108461BEA5ACF

View file

@ -37,7 +37,7 @@ request; e.g.
```sh
$ curl --url https://yourusername:password@forgejo.your.host/api/v1/users/<username>/tokens
[{"name":"test","sha1":"","token_last_eight:"........":},{"name":"dev","sha1":"","token_last_eight":"........"}]
[{"name":"test","sha1":"","token_last_eight":"........"},{"name":"dev","sha1":"","token_last_eight":"........"}]
```
To use the API with basic authentication with two factor authentication