From 2a3a6edc33d4f8b93ae8cd752d4d3dfdc317df91 Mon Sep 17 00:00:00 2001 From: "dmit.b" Date: Mon, 22 Jun 2026 22:02:07 +0300 Subject: [PATCH] - add log before --- bin/routes/auth_routes.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/routes/auth_routes.dart b/bin/routes/auth_routes.dart index 75bc217..46827b9 100644 --- a/bin/routes/auth_routes.dart +++ b/bin/routes/auth_routes.dart @@ -60,6 +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); final data = jsonDecode(body); final login = data['login'];