Skip to content

Commit

Permalink
fix: add missing "is_hidden" to SaveOptionSerializer
Browse files Browse the repository at this point in the history
  • Loading branch information
StephanH90 committed Aug 16, 2024
1 parent a220130 commit ab63598
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion caluma/caluma_form/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ class Meta(SaveQuestionSerializer.Meta):

class SaveOptionSerializer(serializers.ModelSerializer):
class Meta:
fields = ["slug", "label", "is_archived", "meta"]
fields = ["slug", "label", "is_archived", "is_hidden", "meta"]
model = models.Option


Expand Down
1 change: 1 addition & 0 deletions caluma/tests/__snapshots__/test_schema.ambr
Original file line number Diff line number Diff line change
Expand Up @@ -2755,6 +2755,7 @@
slug: String!
label: String!
isArchived: Boolean
isHidden: String
meta: JSONString
clientMutationId: String
}
Expand Down

0 comments on commit ab63598

Please sign in to comment.