Skip to content

Commit

Permalink
change json message
Browse files Browse the repository at this point in the history
  • Loading branch information
Topvennie committed Aug 9, 2024
1 parent ffdec9c commit faaa148
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/public_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ def recent_beverages
end
end.flatten

render json: mapped_orders
render json: { orders: mapped_orders }
end
end

0 comments on commit faaa148

Please sign in to comment.