Skip to content

Commit

Permalink
fix(api): add missing field on upload chunk creation (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
kennedykori authored Aug 17, 2022
1 parent 2162c2f commit e2d7591
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/sql_data/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def update(self, instance, validated_data):
class NewSQLUploadChunkSerializer(AuditBaseSerializer):
class Meta:
model = SQLUploadChunk
fields = ("chunk_index", "chunk_content", "upload_metadata")
fields = ("id", "chunk_index", "chunk_content", "upload_metadata")
read_only_fields = ("upload_metadata",)


Expand Down

0 comments on commit e2d7591

Please sign in to comment.