mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2026-05-13 06:20:24 +00:00
fix(api): adminDEleteQuotaRule typo (#10217)
Just a minor capitalization typo. `DELETE /admin/quota/rules/{quotarule}`'s operation ID was `adminDEleteQuotaRule` where it should be `adminDeleteQuotaRule`.
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/10217
Reviewed-by: Mathieu Fenniak <mfenniak@noreply.codeberg.org>
Co-authored-by: Cyborus <cyborus@disroot.org>
Co-committed-by: Cyborus <cyborus@disroot.org>
This commit is contained in:
parent
d2bde42347
commit
4e4c818b74
2 changed files with 2 additions and 2 deletions
|
|
@ -188,7 +188,7 @@ func EditQuotaRule(ctx *context.APIContext) {
|
|||
|
||||
// DeleteQuotaRule deletes a quota rule
|
||||
func DeleteQuotaRule(ctx *context.APIContext) {
|
||||
// swagger:operation DELETE /admin/quota/rules/{quotarule} admin adminDEleteQuotaRule
|
||||
// swagger:operation DELETE /admin/quota/rules/{quotarule} admin adminDeleteQuotaRule
|
||||
// ---
|
||||
// summary: Deletes a quota rule
|
||||
// produces:
|
||||
|
|
|
|||
2
templates/swagger/v1_json.tmpl
generated
2
templates/swagger/v1_json.tmpl
generated
|
|
@ -1123,7 +1123,7 @@
|
|||
"admin"
|
||||
],
|
||||
"summary": "Deletes a quota rule",
|
||||
"operationId": "adminDEleteQuotaRule",
|
||||
"operationId": "adminDeleteQuotaRule",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue