Skip to content

Commit

Permalink
Update Service.php
Browse files Browse the repository at this point in the history
  • Loading branch information
jhowbhz authored Mar 1, 2024
1 parent d5289f5 commit cd8c5b6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Service.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,8 @@ public static function Plan(String $action = '', Array $data = []) {

$base_uri = "https://gateway.apibrasil.io/api/v2/plans/";
$method = $data['method'] ?? 'POST';
$me = $action == "me" ? true : false;

if($me){
if($action == "me"){
$base_uri = "https://gateway.apibrasil.io/api/v2/plan/";
}

Expand Down

0 comments on commit cd8c5b6

Please sign in to comment.