Skip to content

Commit

Permalink
fix: Fix release_date NOT NULL constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Oct 9, 2024
1 parent 4c715b5 commit 7251ee8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion process/processors/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def save_compiled_release(merged, collection, ocid):
collection_file_item=collection_file_item,
data=data,
ocid=ocid,
release_date=merged.get("date"),
release_date=merged.get("date") or "",
)
release.save()

Expand Down

0 comments on commit 7251ee8

Please sign in to comment.