dyjh 6 anni fa
parent
commit
453ef8d1bf
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app/Http/Controllers/Api/V1/AlbumPosterController.php

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

xqd
@@ -203,7 +203,7 @@ class AlbumPosterController extends Controller
             } else {
                 $agent_check = AlbumAgentModel::where([
                     ['store_id',$data['store_id']],
-                    ['user_id',$userAuth->up_agent_id]
+                    ['id',$userAuth->up_agent_id]
                 ])->first();
                 $name = $agent_check->realname;
                 $phone = $agent_check->phone;