We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0e4c2a2 + 6f17f2e commit 6337a6dCopy full SHA for 6337a6d
web/app/controllers/products_controller.rb
@@ -5,13 +5,13 @@ class ProductsController < AuthenticatedController
5
def count
6
product_count = ShopifyAPI::Product.count.body
7
ShopifyAPI::Logger.info("Retrieved product count: #{product_count["count"]}")
8
+ # logger.info("Retrieved productcount: #{error}")
9
render(json: product_count)
10
end
11
12
# POST /api/products
13
def create
14
ProductCreator.call(count: 5, session: current_shopify_session)
-
15
success = true
16
error = nil
17
status_code = 200
0 commit comments