Skip to content

Commit

Permalink
Merge pull request #113 from paynl/feature/PLUG-168
Browse files Browse the repository at this point in the history
Added fix for v16 getservice
  • Loading branch information
woutse authored Jul 13, 2020
2 parents c801462 + 7226b7a commit 118ccff
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/Api/Transaction/GetService.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,11 @@ public function doRequest($endpoint = null, $version = null)
self::$cache[$cacheKey] = $e;
throw $e;
}

return $result;

if(isset($result['service']) && empty($result['service']['basePath'])) {
$result['service']['basePath'] = 'https://admin.pay.nl/images';
}

return $result;
}
}

0 comments on commit 118ccff

Please sign in to comment.