Skip to content

Commit

Permalink
nginx-storage: Remove the code field from success responses
Browse files Browse the repository at this point in the history
  • Loading branch information
cameel committed Jan 12, 2018
1 parent 5e536fd commit 585ea8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kubernetes/config-maps/nginx-storage/default.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ server {

os.rename("/srv/storage/" .. tmp_file_name, "/srv/storage/" .. header_path_with_filename)
ngx.header.content_type = "application/json; charset=utf-8"
ngx.say('{"message": "File was successfully uploaded", "code": "success"}')
ngx.say('{"message": "File was successfully uploaded"}')
}
}

Expand Down

0 comments on commit 585ea8e

Please sign in to comment.