Skip to content

Commit 5d7a4c6

Browse files
authored
Update RecurringApplicationChargeService.php
1 parent fa60427 commit 5d7a4c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Service/RecurringApplicationChargeService.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ class RecurringApplicationChargeService extends AbstractService
1616
public function all(array $params = array())
1717
{
1818
$endpoint = '/admin/recurring_application_charges.json';
19-
$request = $this->createRequest($endpoint);
20-
return $this->getEdge($request, $params, RecurringApplicationCharge::class);
19+
$response = $this->request($endpoint, 'GET', $params);
20+
return $this->createCollection(RecurringApplicationCharge::class, $response['recurring_application_charges']);
2121
}
2222

2323
/**

0 commit comments

Comments
 (0)