Skip to content

Commit

Permalink
🐛 Fix remove url() in config
Browse files Browse the repository at this point in the history
Signed-off-by: Lloric Mayuga Garcia <[email protected]>
  • Loading branch information
lloricode committed Feb 8, 2021
1 parent d4f6a41 commit 87c2d69
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions config/paymaya-sdk.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
*
*/
'webhooks' => [
WebhookRequest::SUCCESS => url('api/payment-callback/paymaya/success'),
WebhookRequest::FAILURE => url('api/payment-callback/paymaya/failure'),
WebhookRequest::DROPOUT => url('api/payment-callback/paymaya/dropout'),
WebhookRequest::SUCCESS => 'api/payment-callback/paymaya/success',
WebhookRequest::FAILURE => 'api/payment-callback/paymaya/failure',
WebhookRequest::DROPOUT => 'api/payment-callback/paymaya/dropout',
],
];
2 changes: 1 addition & 1 deletion src/Commands/Webhook/RegisterWebHookCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function handle(): void
->register(
WebhookRequest::new()
->setName($name)
->setCallbackUrl($url)
->setCallbackUrl(url($url))
);
}

Expand Down

0 comments on commit 87c2d69

Please sign in to comment.