File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 7
7
/*
8
8
* The API access token from the private app.
9
9
*/
10
- 'api_access_token ' => env ('SHOPIFY_API_ACCESS_TOKEN ' , '' ),
10
+ 'access_token ' => env ('SHOPIFY_ACCESS_TOKEN ' , '' ),
11
11
12
12
/*
13
13
* The shopify domain for your shop.
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ class Factory
7
7
public static function fromConfig (): Shopify
8
8
{
9
9
return new Shopify (
10
- config ('shopify.credentials.api_access_token ' ),
10
+ config ('shopify.credentials.access_token ' ),
11
11
config ('shopify.credentials.domain ' ),
12
12
config ('shopify.credentials.api_version ' ),
13
13
);
@@ -16,7 +16,7 @@ public static function fromConfig(): Shopify
16
16
public static function fromArray (array $ data ): Shopify
17
17
{
18
18
return new Shopify (
19
- $ data ['api_access_token ' ],
19
+ $ data ['access_token ' ],
20
20
$ data ['domain ' ],
21
21
$ data ['api_version ' ]
22
22
);
You can’t perform that action at this time.
0 commit comments