1
0
Fork 0

app/Models/Card.php: Add "subject_type" to appends array.

This commit is contained in:
Henrik Hautakoski 2022-01-02 21:19:12 +01:00
parent 65d7f4cdbe
commit 07de4a54fa

View file

@ -16,7 +16,7 @@ class Card extends Model
public $timestamps = false;
protected $appends = ['subject'];
protected $appends = ['subject', 'subject_type'];
public $fillable = [
'body',