Skip to content

Commit 1ffc258

Browse files
veeqtohCopilot
andauthored
Update src/Services/PaystackService.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent daa8ab5 commit 1ffc258

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Services/PaystackService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ public static function createCustomer(array $data): mixed
196196
*/
197197
public static function fetchCustomer(string $customer_id, array $options = []): mixed
198198
{
199-
return (new self)->setHttpResponse("/customer/{$customer_id}", 'GET', $options)->getData();
199+
return (new self)->setHttpResponse("/customer/{$customer_id}", 'GET', $options)->getResponse();
200200
}
201201

202202
/**

0 commit comments

Comments
 (0)