Update 'required' status for new serializers

(cherry picked from commit 2306e29743eb25266c78bec5357d1194e0778c58)
This commit is contained in:
Oliver Walters
2020-05-26 20:29:09 +10:00
parent 81e38eeb14
commit e128410d54
3 changed files with 11 additions and 5 deletions
+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