File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ def hash_merge(*hashes)
133133 content_type :json
134134 start = params [ 'start' ]
135135 final = params [ 'final' ]
136- statement = DB . prepare ( 'SELECT * FROM upcoming WHERE launch_date BETWEEN ? AND ?;' , )
136+ statement = DB . prepare ( 'SELECT * FROM upcoming WHERE launch_date_utc BETWEEN ? AND ?;' , )
137137 results = statement . execute ( start , final )
138138 hash = results . each do |row |
139139 end
@@ -171,7 +171,7 @@ def hash_merge(*hashes)
171171 content_type :json
172172 start = params [ 'start' ]
173173 final = params [ 'final' ]
174- statement = DB . prepare ( 'SELECT * FROM launch WHERE launch_date BETWEEN ? AND ?;' , )
174+ statement = DB . prepare ( 'SELECT * FROM launch WHERE launch_date_utc BETWEEN ? AND ?;' , )
175175 results = statement . execute ( start , final )
176176 hash = results . each do |row |
177177 end
You can’t perform that action at this time.
0 commit comments