Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1c175ed

Browse files
committedJun 17, 2025·
fix: tests
1 parent 9269694 commit 1c175ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/Donations/Actions/LoadDonationOptions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ private function getDonationOptions(): array
3333
return [
3434
'isAdmin' => $isAdmin,
3535
'adminUrl' => admin_url(),
36-
'apiRoot' => rest_url(DonationRoute::NAMESPACE . '/' . DonationRoute::DONATIONS),
36+
'apiRoot' => rest_url(DonationRoute::NAMESPACE . '/' . DonationRoute::BASE),
3737
'apiNonce' => wp_create_nonce('wp_rest'),
3838
'donationsAdminUrl' => admin_url('edit.php?post_type=give_forms&page=give-payment-history'),
3939
'currency' => give_get_currency(),

0 commit comments

Comments
 (0)
Please sign in to comment.