From 352c3278ea7bc54f25e0cc72fcd5e14df53f8b3c Mon Sep 17 00:00:00 2001 From: egorkonopka Date: Thu, 25 Aug 2022 18:15:47 +0300 Subject: [PATCH] fix stdClass name to accountId --- src/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/User.php b/src/User.php index 8037ddc..a1a3b27 100644 --- a/src/User.php +++ b/src/User.php @@ -47,7 +47,7 @@ public static function fromStdClass( \Badoo\Jira\Issue $Issue = null, \Badoo\Jira\REST\Client $Jira = null ) : User { - $Instance = new static($UserInfo->name, $Jira); + $Instance = new static($UserInfo->accountId, $Jira); $Instance->Issue = $Issue; $Instance->OriginalObject = $UserInfo;