File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -218,8 +218,7 @@ public function call($userData = array(), $verifyData = TRUE)
218
218
219
219
// Send & accept JSON data
220
220
$ defaultHeaders = array ();
221
- $ defaultHeaders [] = 'Content-Type: application/json; ' ;
222
- $ defaultHeaders [] = 'charset= ' . $ request ['CHARSET ' ] . '; ' ;
221
+ $ defaultHeaders [] = 'Content-Type: application/json; charset= ' . $ request ['CHARSET ' ] . '; ' ;
223
222
$ defaultHeaders [] = 'Accept: application/json; ' ;
224
223
if (array_key_exists ('ACCESS_TOKEN ' , $ this ->_API ))
225
224
{
@@ -247,7 +246,7 @@ public function call($userData = array(), $verifyData = TRUE)
247
246
CURLOPT_CUSTOMREQUEST => strtoupper ($ request ['METHOD ' ]),
248
247
CURLOPT_ENCODING => '' ,
249
248
CURLOPT_USERAGENT => 'RocketCode Shopify API Wrapper ' ,
250
- CURLOPT_FAILONERROR => TRUE
249
+ CURLOPT_FAILONERROR => FALSE
251
250
);
252
251
253
252
// Checks if DATA is being sent
You can’t perform that action at this time.
0 commit comments