Update 'required' status for new serializers

(cherry picked from commit 2306e29743eb25266c78bec5357d1194e0778c58)
This commit is contained in:
Oliver Walters committed 2020-05-26 20:29:09 +10:00
1 parent 81e38eeb14
commit e128410d54
3 files changed
+11 -5

No files matched your search

+1 -1
View File
@@ -47,7 +47,7 @@ class PartAttachmentSerializer(InvenTreeModelSerializer):
Serializer for the PartAttachment class
"""
attachment = InvenTreeAttachmentSerializerField()
attachment = InvenTreeAttachmentSerializerField(required=True)
class Meta:
model = PartAttachment