1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-12-03 09:17:09 +01:00

Add 'DELETE' to 'git-obs api' allowed methods

This commit is contained in:
2025-10-15 11:15:40 +02:00
parent 7954b9d11a
commit e91c904284
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ class ApiCommand(osc.commandline_git.GitObsCommand):
self.add_argument(
"-X",
"--method",
choices=["GET", "HEAD", "POST", "PATCH", "PUT"],
choices=["GET", "HEAD", "POST", "PATCH", "PUT", "DELETE"],
default="GET",
)
self.add_argument(