Skip to content

Commit

Permalink
Update SubscriptionRequest.php
Browse files Browse the repository at this point in the history
Typo fix (cancelData > cancelDate)
  • Loading branch information
mvdgeijn authored Dec 18, 2023
1 parent 27d120c commit c75fe7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Requests/SubscriptionRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function delete(string $subscriptionId, ?string $cancelDate ): bool
{
$query = "";
if( $cancelDate != null ) {
$query = "?cancelData=" . $cancelDate;
$query = "?cancelDate=" . $cancelDate;
}

$response = $this->deleteRequest( '/v1/subscriptions/' . $subscriptionId . $query, null );
Expand Down

0 comments on commit c75fe7f

Please sign in to comment.