Skip to content
This repository was archived by the owner on Feb 27, 2023. It is now read-only.

Commit 0f43fcb

Browse files
Merge pull request #27 from karlr-stripe/master
Set Content-Type to 'application/json' for ephemeral_keys endpoint
2 parents 1725bd8 + 22e4fcf commit 0f43fcb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

web.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ def log_info(message)
3232
return log_info("Error creating ephemeral key: #{e.message}")
3333
end
3434

35+
content_type :json
3536
status 200
3637
key.to_json
3738
end

0 commit comments

Comments
 (0)