add for backend send shared link via email

This commit is contained in:
Milos Holba
2021-01-06 17:33:15 +01:00
parent ba28ac6184
commit 04990fcf7b
9 changed files with 119 additions and 35 deletions
+1
View File
@@ -117,6 +117,7 @@ Route::group(['middleware' => ['auth:api', 'auth.master', 'scope:master']], func
Route::post('/folders/favourites', 'FileFunctions\FavouriteController@store');
// Share
Route::post('/share/{token}/send-email', 'FileFunctions\ShareController@shared_send_via_email');
Route::post('/share/cancel', 'FileFunctions\ShareController@destroy');
Route::patch('/share/{token}', 'FileFunctions\ShareController@update');
Route::post('/share', 'FileFunctions\ShareController@store');