mirror of
https://codeberg.org/demostf/api.git
synced 2026-06-03 18:04:08 +02:00
add hash to demo listing
This commit is contained in:
parent
af6be81db6
commit
efd74cd966
1 changed files with 2 additions and 1 deletions
|
|
@ -187,7 +187,8 @@ class Demo implements \JsonSerializable {
|
|||
'redScore' => $this->getRedScore(),
|
||||
'blueScore' => $this->getBlueScore(),
|
||||
'playerCount' => $this->getPlayerCount(),
|
||||
'uploader' => $this->uploaderUser ? $this->getUploaderUser()->jsonSerialize() : $this->getUploader()
|
||||
'uploader' => $this->uploaderUser ? $this->getUploaderUser()->jsonSerialize() : $this->getUploader(),
|
||||
'hash' => $this->getHash()
|
||||
];
|
||||
if ($this->players) {
|
||||
$data['players'] = $this->getPlayers();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue