diff --git a/src/Users/UsersRpcHandler.php b/src/Users/UsersRpcHandler.php index d074f53..abc0279 100644 --- a/src/Users/UsersRpcHandler.php +++ b/src/Users/UsersRpcHandler.php @@ -66,7 +66,7 @@ final class UsersRpcHandler implements RpcHandler { if(!empty($userInfo->title)) $output['title'] = $userInfo->title; - $output['created_at'] = $userInfo->getCreatedAt()->toIso8601ZuluString(); + $output['created_at'] = $userInfo->createdAt->toIso8601ZuluString(); if($userInfo->lastActiveTime !== null) $output['last_active_at'] = $userInfo->lastActiveAt->toIso8601ZuluString();