Browse Source

update response

pull/1/head
wahyuun 1 year ago
parent
commit
ad59e5f3ec
  1. 4
      app/Http/Controllers/UserToProyekController.php

4
app/Http/Controllers/UserToProyekController.php

@ -64,10 +64,10 @@ class UserToProyekController extends Controller
if($countRes > 0){ if($countRes > 0){
return response()->json(['status'=>'success' ,'message'=>'Project customer successfull created','code'=>200]); return response()->json(['status'=>'success' ,'message'=>'Project customer successfull created','code'=>200]);
}else{ }else{
return response()->json(['status'=>'success' ,'message'=>'Project customer failed created','code'=>400]); return response()->json(['status'=>'failed' ,'message'=>'Project customer failed created','code'=>400]);
} }
}else{ }else{
return response()->json(['status'=>'success' ,'message'=>'Project customer successfull created','code'=>200]); return response()->json(['status'=>'failed' ,'message'=>'Project customer failed created','code'=>200]);
} }
} }

Loading…
Cancel
Save