From 417bb7834e29599088223cb78f5ecc6a492b5105 Mon Sep 17 00:00:00 2001 From: "dmit.b" Date: Mon, 22 Jun 2026 22:03:44 +0300 Subject: [PATCH] - add log before --- bin/routes/auth_routes.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/routes/auth_routes.dart b/bin/routes/auth_routes.dart index 46827b9..55ec773 100644 --- a/bin/routes/auth_routes.dart +++ b/bin/routes/auth_routes.dart @@ -60,7 +60,7 @@ class AuthRoutes { Future _register(Request request) async { final stopwatch = Stopwatch()..start(); final body = await request.readAsString(); - logRequest(method: 'POST', url: '/reg', status: 400, duration: stopwatch.elapsed, body: body); + logRequest(method: 'POST', url: '/reg', status: 444, duration: stopwatch.elapsed, body: body); final data = jsonDecode(body); final login = data['login'];