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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user