Skip to content

Commit

Permalink
Merge branch 'develop' into 'main'
Browse files Browse the repository at this point in the history
fix: Fix current release

See merge request locker/api-core!460
  • Loading branch information
khaitranquang committed Jun 16, 2024
2 parents 8db69aa + 9eb34dc commit 07c14e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion locker_server/api/v1_0/releases/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def current(self, request, *args, **kwargs):
data = {
"version": version,
"environment": environment,
"checksum": latest_release.get_checksum(),
"checksum": latest_release.get_checksum() if latest_release else {},
"platform": platform
}
return Response(status=status.HTTP_200_OK, data=data)
Expand Down

0 comments on commit 07c14e2

Please sign in to comment.