From beb9c0e959d092c3faa54483acdd47c6ec678c3c Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Fri, 24 Jan 2020 20:26:26 +0000 Subject: Rename 'vcs' release-creation mode to 'git' --- app/blueprints/api/endpoints.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/blueprints/api/endpoints.py') 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"]) -- cgit v1.2.3