fix policies

This commit is contained in:
mahdi purHosseini
2024-01-03 14:24:19 +03:30
parent 7068eeb561
commit e345034978
5 changed files with 12 additions and 25 deletions
-2
View File
@@ -151,9 +151,7 @@ class ItemController extends Controller
'user_id' => auth( 'api' )->user()->id ,
'creator_id' => auth( 'api' )->user()->id
] );
MediaHelper::moveMediaTo( $Item );
return MessageResponse::success( trans( 'messages.success' ) );
}