mirror of
1
Fork 0

fix(api): typo in API description for `repoSearch` (#7199)

Corrected miss-spelled description for the `is_private` field on `repoSearch`, in which 'public' was spelled as 'pubic'.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7199
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: luxzi <lesson085@gmail.com>
Co-committed-by: luxzi <lesson085@gmail.com>
This commit is contained in:
luxzi 2025-03-11 13:25:24 +00:00 committed by Gusted
parent 54ec6daa2d
commit 7c05c8faac
2 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@ func Search(ctx *context.APIContext) {
// type: boolean
// - name: is_private
// in: query
// description: show only pubic, private or all repositories (defaults to all)
// description: show only public, private or all repositories (defaults to all)
// type: boolean
// - name: template
// in: query

View File

@ -4645,7 +4645,7 @@
},
{
"type": "boolean",
"description": "show only pubic, private or all repositories (defaults to all)",
"description": "show only public, private or all repositories (defaults to all)",
"name": "is_private",
"in": "query"
},