Skip to content

Commit 10cb8a2

Browse files
committed
fixed hash to string issue
1 parent 5699e08 commit 10cb8a2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131

3232
get '/' do
3333
DB.fetch("SELECT * FROM launches") do |row|
34-
puts row[:name]
34+
row = row[:name]
35+
JSON.pretty_generate(row)
3536
end
3637
end
3738

0 commit comments

Comments
 (0)