Merge payments of KOPKB and PKB of online transaction trail

This commit is contained in:
Afiq Hamzah
2025-01-26 18:38:36 +08:00
parent 055357aee8
commit 4dbe7f22ce
2 changed files with 19 additions and 16 deletions
+2 -4
View File
@@ -35,10 +35,8 @@ class AppServiceProvider extends ServiceProvider
return $this;
});
PendingRequest::macro('arrahn', function () {
$this->options['verify'] = config('app.api_verify');
$this->baseUrl(config('api.url'));
return $this;
Http::macro('arrahn_koop', function () {
return Http::withOptions(['verify' => config('app.api_verify')])->baseUrl(config('api.url_koop'));
});
PendingRequest::macro('arrahn_koop', function () {