Skip to content

Commit

Permalink
fix postupload / plaintext get_differences default error
Browse files Browse the repository at this point in the history
  • Loading branch information
bikubi committed Oct 30, 2024
1 parent baf6896 commit 45e83b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion froide/foirequest/models/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ class FoiMessage(models.Model):
subject_redacted = models.CharField(
_("Redacted Subject"), blank=True, max_length=255
)
plaintext = models.TextField(_("plain text"), blank=True, null=True)
plaintext = models.TextField(_("plain text"), blank=True, null=False, default="")
plaintext_redacted = models.TextField(
_("redacted plain text"), blank=True, null=True
)
Expand Down

0 comments on commit 45e83b8

Please sign in to comment.