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