Fix register api, remove save file

This commit is contained in:
Amir
2023-03-06 12:35:55 +08:00
parent 314e6b3a84
commit bb80ae1304
2 changed files with 15 additions and 15 deletions
@@ -14,9 +14,9 @@ class UserController extends Controller
public function getProfileUser(Request $request){
$getUserNokp = User::where('nokp', $request->nokp)
->join('file', function ($join) {
$join->on('users.id', '=', 'file.user_id');
})
// ->join('file', function ($join) {
// $join->on('users.id', '=', 'file.user_id');
// })
->get();
if ($getUserNokp->isNotEmpty()) {