From fa4f63424c173f0d39242b40dad944c616151cea Mon Sep 17 00:00:00 2001 From: Deimos Date: Mon, 1 Jul 2019 14:04:47 -0600 Subject: [PATCH] Fix error if tags omitted from new topic POST --- tildes/tildes/views/topic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tildes/tildes/views/topic.py b/tildes/tildes/views/topic.py index ab4f29b..a3e1ad4 100644 --- a/tildes/tildes/views/topic.py +++ b/tildes/tildes/views/topic.py @@ -43,7 +43,7 @@ DefaultSettings = namedtuple("DefaultSettings", ["order", "period"]) @view_config(route_name="group_topics", request_method="POST", permission="post_topic") @use_kwargs(TopicSchema(only=("title", "markdown", "link"))) -@use_kwargs({"tags": String()}) +@use_kwargs({"tags": String(missing="")}) def post_group_topics( request: Request, title: str, markdown: str, link: str, tags: str ) -> HTTPFound: