Skip to content

Commit

Permalink
WEB: Fixing typo in field name autoId -> auto_id
Browse files Browse the repository at this point in the history
  • Loading branch information
Thunderforge committed Apr 7, 2022
1 parent 4c8de62 commit 9950eaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/Objects/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class File extends BasicObject
public function __construct($data, $baseUrl = null)
{
parent::__construct($data);
$this->autoId = $data['autoId'] ?? null;
$this->autoId = $data['auto_id'] ?? null;
$this->category = $data['category'];
$this->category_icon = $data['category_icon'];
$this->notes = isset($data['notes']) ? $data['notes'] : '';
Expand Down

0 comments on commit 9950eaa

Please sign in to comment.