stages/prompt: fix sub_text not allowing blank

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-10-07 19:00:15 +02:00
parent b4ee693a5c
commit 67b88595ad

View file

@ -35,7 +35,7 @@ class StagePromptSerializer(PassiveSerializer):
required = BooleanField()
placeholder = CharField(allow_blank=True)
order = IntegerField()
sub_text = CharField()
sub_text = CharField(allow_blank=True)
class PromptChallenge(Challenge):