Skip to content

Commit

Permalink
fix: readiness jsonresponse
Browse files Browse the repository at this point in the history
Co-authored-by: Juha Louhiranta <[email protected]>
  • Loading branch information
terovirtanen and charn authored Mar 28, 2024
1 parent a6d6ab5 commit 9f49927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion open_city_profile/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def readiness(*args, **kwargs):
"commitHash": settings.COMMIT_HASH,
"buildTime": settings.APP_BUILD_TIME.strftime("%Y-%m-%dT%H:%M:%S.000Z"),
}
return HttpResponse(json.dumps(response_json), status=200)
return JsonResponse(response_json, status=200)


urlpatterns += [path("healthz", healthz), path("readiness", readiness)]

0 comments on commit 9f49927

Please sign in to comment.