added email notification about fulfilling upload request

This commit is contained in:
Čarodej
2022-02-24 10:43:35 +01:00
parent a589ee5f7a
commit 45dcdcce16
6 changed files with 82 additions and 4 deletions

View File

@@ -49,6 +49,11 @@ class UploadRequest extends Model
return $this->hasOne(Folder::class, 'id', 'id');
}
public function parent(): HasOne
{
return $this->hasOne(Folder::class, 'id', 'folder_id');
}
protected static function boot()
{
parent::boot();