Skip to content

Commit 3226a0f

Browse files
authored
Update custom_apps.md
Small typo - missing commas
1 parent 9c96648 commit 3226a0f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/usage/custom_apps.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ You can follow instructions for [initializing the session object](#initializing-
1010
Following is a basic example to construct a simple Session object. You can see full list of parameters for this object in the [class definition](https://github.com/Shopify/shopify-api-ruby/blob/main/lib/shopify_api/auth/session.rb)
1111
```ruby
1212
session = ShopifyAPI::Auth::Session.new(
13-
shop: "#{your_shop_name}.myshopify.com"
13+
shop: "#{your_shop_name}.myshopify.com",
1414
access_token: "the_token_for_your_custom_app_found_in_admin"
1515
)
1616

@@ -23,7 +23,7 @@ Example:
2323
def make_api_request(shop)
2424
# 1. create session object
2525
session = ShopifyAPI::Auth::Session.new(
26-
shop: "#{your_shop_name}.myshopify.com"
26+
shop: "#{your_shop_name}.myshopify.com",
2727
access_token: "the_token_for_your_custom_app_found_in_admin"
2828
)
2929

@@ -49,7 +49,7 @@ Example:
4949
def configure_app
5050
# This method is called before making authenticated API calls
5151
session = ShopifyAPI::Auth::Session.new(
52-
shop: "#{your_shop_name}.myshopify.com"
52+
shop: "#{your_shop_name}.myshopify.com",
5353
access_token: "the_token_for_your_custom_app_found_in_admin"
5454
)
5555

0 commit comments

Comments
 (0)