From 07de4a54fa9a53104825b4216d58b1625b95a263 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Sun, 2 Jan 2022 21:19:12 +0100 Subject: [PATCH] app/Models/Card.php: Add "subject_type" to appends array. --- app/Models/Card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Card.php b/app/Models/Card.php index 4d0d542..cc9c37f 100644 --- a/app/Models/Card.php +++ b/app/Models/Card.php @@ -16,7 +16,7 @@ class Card extends Model public $timestamps = false; - protected $appends = ['subject']; + protected $appends = ['subject', 'subject_type']; public $fillable = [ 'body',