Skip to content

Commit 3483e18

Browse files
committed
Remove access to specific DateTimes
1 parent 320df28 commit 3483e18

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/libraries/User.php

+6-7
Original file line numberDiff line numberDiff line change
@@ -614,13 +614,12 @@ public function jsonSerialize()
614614
];
615615

616616
return [
617-
'avatar_url' => $this->getAvatarURI(null),
618-
'created_datetime' => $created_datetime,
619-
'id' => $this->getId(),
620-
'name' => $this->getName(),
621-
'timezone' => $this->getTimezone(),
622-
'url' => $this->getURI(),
623-
'verified_datetime' => $verified_datetime,
617+
'avatar_url' => $this->getAvatarURI(null),
618+
'id' => $this->getId(),
619+
'member_for' => $this->getCreatedEstimate(),
620+
'name' => $this->getName(),
621+
'timezone' => $this->getTimezone(),
622+
'url' => $this->getURI(),
624623
];
625624
}
626625

0 commit comments

Comments
 (0)