mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-19 08:32:14 +00:00
added it_get_public_file_record_and_download_them, it_try_to_get_protected_file_record, it_get_shared_record, it_get_deleted_shared_record, it_get_shared_page, it_get_deleted_shared_page test
This commit is contained in:
@@ -205,8 +205,7 @@ function get_item($type, $id)
|
||||
*/
|
||||
function get_shared($token)
|
||||
{
|
||||
|
||||
return Share::where(DB::raw('BINARY `token`'), $token)
|
||||
return Share::whereToken($token)
|
||||
->firstOrFail();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user