mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-30 01:43:59 +00:00
updates for dev environment
This commit is contained in:
+4
-2
@@ -19,9 +19,11 @@ class ApproveIdentificationDocumentOnShippingProcessor
|
||||
if (App::environment(['production'])) {
|
||||
dd("Delete this line before push to production");
|
||||
$url = "https://izyim.cief-malaysia.com/api/v1/exchange/company/{$companyId}/identification/approval/{$status}";
|
||||
} else {
|
||||
} else if (App::environment(['local'])) {
|
||||
$url = "http://127.0.0.1:8001/api/v1/exchange/company/{$companyId}/identification/approval/{$status}";
|
||||
}
|
||||
} else {
|
||||
$url = "https://dev.portal.cief-malaysia.com/api/v1/exchange/company/{$companyId}/identification/approval/{$status}";
|
||||
}
|
||||
try {
|
||||
$client = new \GuzzleHttp\Client(['verify' => false]);
|
||||
$token = $request->bearerToken();
|
||||
|
||||
Reference in New Issue
Block a user