Skip to content

Commit

Permalink
fix: Make release id optional
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Sep 24, 2024
1 parent 60f203b commit 74ee8f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion process/management/commands/file_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ def _store_data(collection_file, package, releases_or_records, data_type, *, upg
package_data=get_or_create(PackageData, package),
data=data,
ocid=release_or_record["ocid"],
release_id=release_or_record["id"],
release_id=release_or_record.get("id", ""),
).save()
case Format.compiled_release:
CompiledRelease(
Expand Down

0 comments on commit 74ee8f5

Please sign in to comment.