diff --git a/helm-quarry/values.yaml b/helm-quarry/values.yaml index 76bfa3c..3cbae97 100644 --- a/helm-quarry/values.yaml +++ b/helm-quarry/values.yaml @@ -1,6 +1,6 @@ web: repository: 'quay.io/wikimedia-quarry/quarry' - tag: pr-95 # web tag managed by github actions + tag: pr-96 # web tag managed by github actions resources: requests: memory: "300Mi" @@ -11,7 +11,7 @@ web: worker: repository: 'quay.io/wikimedia-quarry/quarry' - tag: pr-95 # worker tag managed by github actions + tag: pr-96 # worker tag managed by github actions resources: requests: memory: "400Mi" diff --git a/quarry/web/api.py b/quarry/web/api.py index d5425ad..0c9c061 100644 --- a/quarry/web/api.py +++ b/quarry/web/api.py @@ -74,7 +74,10 @@ def api_set_meta() -> Tuple[Union[str, Response], int]: return "Authorization denied", 403 if "title" in request.form: - query.title = request.form["title"] + title = request.form["title"] + if not title.strip(): + title = None + query.title = title if "published" in request.form: query.published = request.form["published"] == "1" if "description" in request.form: