Skip to content

Commit

Permalink
Unable to create app with revoked status.
Browse files Browse the repository at this point in the history
  • Loading branch information
mxr576 committed Sep 27, 2017
1 parent 3cd272c commit fa6592a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Apigee/ManagementAPI/AbstractApp.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ abstract class AbstractApp extends Base
protected $scopes;
/**
* @var string
* Status of the app: 'approved' or 'unapproved'.
* Status of the app: 'approved' or 'revoked'.
*/
protected $status;
/**
Expand Down Expand Up @@ -1041,7 +1041,8 @@ public function save($force_update = false)
$payload = array(
'accessType' => $this->getAccessType(),
'name' => $this->getName(),
'callbackUrl' => $this->getCallbackUrl()
'callbackUrl' => $this->getCallbackUrl(),
'status' => $this->getStatus(),
);

// Twiddle with attributes. If we are in a paging-enabled environment,
Expand Down

0 comments on commit fa6592a

Please sign in to comment.