fix the bugs

This commit is contained in:
2025-08-13 14:14:28 +03:30
parent 9a0758a754
commit f77d0ee0d0
11 changed files with 69 additions and 82 deletions

View File

@@ -52,7 +52,7 @@ class ProfileController extends Controller
public function online(Request $request): JsonResponse
{
User::query()
->firstWhere('telephone_id', '=', $request->telephone_id)
->Where('telephone_id', '=', $request->telephone_id)
->update(['is_online' => true,]);
return $this->successResponse();