dyjh hace 6 años
padre
commit
5cbb089617
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Http/Controllers/Api/V1/AlbumController.php

+ 1 - 1
app/Http/Controllers/Api/V1/AlbumController.php

xqd
@@ -1754,7 +1754,7 @@ class AlbumController extends Controller
         }
         $data = $request->input();
         if($userAuth->is_dealer == 1){
-            $user_agent = AlbumAgentModel::where(['store_id',$data['store_id']],['user_id',$userAuth->id])->first(['address','phone','realname']);
+            $user_agent = AlbumAgentModel::where([['store_id',$data['store_id']],['user_id',$userAuth->id]])->first(['address','phone','realname']);
         }else{
             $user_agent = null;
         }