1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-21 08:31:27 -05:00

Fix bash code block

This commit is contained in:
erik 2023-12-19 11:32:57 +01:00 committed by Michael Jerger
parent 3327fbc39a
commit 8a8b6821ba

View file

@ -62,6 +62,7 @@ TAGS="sqlite" make build generate-swagger
./gitea admin user generate-access-token -u me -t token --scopes write:activitypub,write:repository,write:user ./gitea admin user generate-access-token -u me -t token --scopes write:activitypub,write:repository,write:user
# create a repo # create a repo
```bash
curl -X 'POST' \ curl -X 'POST' \
'http://localhost:3000/api/v1/user/repos?token=ReplaceThisWithYourGeneratedToken' \ 'http://localhost:3000/api/v1/user/repos?token=ReplaceThisWithYourGeneratedToken' \
-H 'accept: application/json' \ -H 'accept: application/json' \