From 5711d7cdf2c0fb781dc517a06a2270a5bf19cfa9 Mon Sep 17 00:00:00 2001 From: OhmygoodR <109280933+OhmygoodR@users.noreply.github.com> Date: Sun, 28 Jan 2024 00:55:42 +0800 Subject: [PATCH] Update Attachment.php --- app/Models/Attachment.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Models/Attachment.php b/app/Models/Attachment.php index 158b6470..b899a4c4 100644 --- a/app/Models/Attachment.php +++ b/app/Models/Attachment.php @@ -14,5 +14,6 @@ class Attachment extends Model public function attachable() { // TASK: fill in the code to make it work + return $this->morphTo(); } }