mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 00:02:15 +00:00
api resource refactoring part 5
This commit is contained in:
@@ -147,8 +147,7 @@ class User extends Authenticatable implements MustVerifyEmail
|
||||
public function favouriteFolders(): BelongsToMany
|
||||
{
|
||||
return $this->belongsToMany(Folder::class, 'favourite_folder', 'user_id', 'folder_id', 'id', 'id')
|
||||
->where('team_folder', false)
|
||||
->with('shared:token,id,item_id,permission,is_protected,expire_in');
|
||||
->where('team_folder', false);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user