Page MenuHomePhabricator

D20899.diff
No OneTemporary

D20899.diff

diff --git a/src/applications/auth/adapter/PhutilAsanaAuthAdapter.php b/src/applications/auth/adapter/PhutilAsanaAuthAdapter.php
--- a/src/applications/auth/adapter/PhutilAsanaAuthAdapter.php
+++ b/src/applications/auth/adapter/PhutilAsanaAuthAdapter.php
@@ -14,7 +14,9 @@
}
public function getAccountID() {
- return $this->getOAuthAccountData('id');
+ // See T13453. The Asana API has changed to string IDs and now returns a
+ // "gid" field (previously, it returned an "id" field).
+ return $this->getOAuthAccountData('gid');
}
public function getAccountEmail() {

File Metadata

Mime Type
text/plain
Expires
Wed, Mar 12, 6:17 AM (1 w, 1 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7224797
Default Alt Text
D20899.diff (595 B)

Event Timeline