add relation to card
This commit is contained in:
@@ -20,6 +20,7 @@ class Card extends Entity implements JsonSerializable {
|
||||
$this->addType('id','integer');
|
||||
$this->addType('stackId','integer');
|
||||
$this->addType('order','integer');
|
||||
$this->addRelation('labels');
|
||||
}
|
||||
|
||||
public function jsonSerialize() {
|
||||
@@ -36,4 +37,4 @@ class Card extends Entity implements JsonSerializable {
|
||||
'labels' => $this->labels,
|
||||
];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user