mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Render an empty JSON object instead of a blank string
This commit is contained in:
@@ -45,7 +45,7 @@ module Api
|
||||
private
|
||||
|
||||
def render_no_products
|
||||
render status: :not_found, json: ''
|
||||
render status: :not_found, json: {}
|
||||
end
|
||||
|
||||
def product_properties
|
||||
|
||||
Reference in New Issue
Block a user