Skip to content

Commit bdea455

Browse files
committed
Revert "Update the default api so 2022-01"
This reverts commit 9f21b41.
1 parent 9f21b41 commit bdea455

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/resources/config/shopify-app.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@
164164
|
165165
*/
166166

167-
'api_version' => env('SHOPIFY_API_VERSION', '2022-01'),
167+
'api_version' => env('SHOPIFY_API_VERSION', '2021-01'),
168168

169169
/*
170170
|--------------------------------------------------------------------------

tests/Services/ApiHelperTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function testMake(): void
4242
$this->assertInstanceOf(BasicShopifyAPI::class, $api);
4343
$this->assertSame(Util::getShopifyConfig('api_secret'), $this->app['config']->get('shopify-app.api_secret'));
4444
$this->assertSame(Util::getShopifyConfig('api_key'), $this->app['config']->get('shopify-app.api_key'));
45-
$this->assertSame($this->app['config']->get('shopify-app.api_version'), '2022-01');
45+
$this->assertSame($this->app['config']->get('shopify-app.api_version'), '2021-01');
4646
}
4747

4848
public function testSetAndGetApi(): void

0 commit comments

Comments
 (0)