users clean up

This commit is contained in:
CHIEFSOFT\ameye
2024-06-15 09:16:49 -04:00
parent f1d5e76756
commit 5db96c059f
+7 -2
View File
@@ -30,8 +30,11 @@ class Users extends BaseController
];
return $this->respond($data, 200);
}
else{
return $this->respond(['error'=>'empty uid'], 400);
}
return $this->respond([], 400);
//return $this->respond([], 400);
}
private function userLoan($uid){
@@ -53,9 +56,11 @@ class Users extends BaseController
'customer' => $row
];
return $this->respond($data, 200);
}else{
return $this->respond(['error'=>'empty uid'], 400);
}
return $this->respond([], 400);
// return $this->respond([], 400);
}
}