aboutsummaryrefslogtreecommitdiff
path: root/app/blueprints/api/endpoints.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/blueprints/api/endpoints.py')
-rw-r--r--app/blueprints/api/endpoints.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/blueprints/api/endpoints.py b/app/blueprints/api/endpoints.py
index bd17bb5..3cb2c17 100644
--- a/app/blueprints/api/endpoints.py
+++ b/app/blueprints/api/endpoints.py
@@ -139,7 +139,7 @@ def create_release(token, package):
return error(400, option + " is required in the POST data")
- if json["method"].lower() != "vcs":
- return error(400, "Release-creation methods other than VCS are not supported")
+ if json["method"].lower() != "git":
+ return error(400, "Release-creation methods other than git are not supported")
return handleCreateRelease(token, package, json["title"], json["ref"])