GET mastertasks, GET mastertasks/{id} endpointy

This commit is contained in:
StudioTem committed 2023-01-24 23:19:12 +01:00
1 parent dfac41f30a
commit ba6b9e20a5
16 files changed
+210 -12

No files matched your search

+2 -2
View File
@@ -11,8 +11,8 @@ class Attachment extends Model
public $timestamps = true;
public function subtask()
public function mastertask()
{
return $this->belongsTo(SubTask::class);
return $this->belongsTo(MasterTask::class, 'master_task_id');
}
}