Skip to content

Commit

Permalink
Fix error in status endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
wkmor1 committed Aug 1, 2023
1 parent 052b1d9 commit 44748ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api.R
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@ function(req, res) {

#* Register result of job
#* @tag status
#* @get /healthz
#* @get /job
#* @response 200 A json object response
#* @serializer unboxedJSON
function(status) {

cat(status, file = "var/status/success.txt")
cat(status, file = "status/success.txt")

cat(format(Sys.time(), usetz = TRUE), file = "status/last-update.txt")

Expand Down

0 comments on commit 44748ed

Please sign in to comment.