Skip to content
This repository was archived by the owner on Nov 2, 2022. It is now read-only.

Commit 1c9203e

Browse files
committed
Fixed a bug with the available plans Zone api
1 parent 5e38c90 commit 1c9203e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "jamesryanbell/cloudflare",
33
"description": "CloudFlare API - PHP",
44
"license": "MIT",
5-
"version": "1.8.6",
5+
"version": "1.8.7",
66
"keywords": ["cloudflare", "api"],
77
"authors": [
88
{

src/CloudFlare/Zone/Plan.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Plan extends Api
2323
*/
2424
public function available($zone_identifier)
2525
{
26-
return $this->get('zones/'.$zone_identifier.'/plans');
26+
return $this->get('zones/'.$zone_identifier.'/available_rate_plans');
2727
}
2828

2929
/**

0 commit comments

Comments
 (0)