From 24fe27de85810e786ece64be4b1a4ac9d3f927c9 Mon Sep 17 00:00:00 2001 From: wackbyte Date: Mon, 19 Jun 2023 21:32:04 -0400 Subject: [PATCH] docs: fix syntax error in example JSON returned from request # Conflicts: # v1.20/user/api-usage.md --- user/api-usage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/api-usage.md b/user/api-usage.md index 75b260e4..0e856b17 100644 --- a/user/api-usage.md +++ b/user/api-usage.md @@ -37,7 +37,7 @@ request; e.g. ```sh $ curl --url https://yourusername:password@forgejo.your.host/api/v1/users//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