update get lelong details

This commit is contained in:
faiqahzaman
2022-01-24 10:01:47 +08:00
parent 62899b4d55
commit e26d8d94d7
3 changed files with 40 additions and 40 deletions
@@ -34,8 +34,7 @@ class UserController extends Controller
return response($validator->errors(), 201);
}
$currentdate = Carbon::now();
$currentdate = $currentdate->toDateString();
$currentdate = Carbon::now()->toDateTimeString();
$user_update = User::where('nokp','=',$request->nokp)
->update([