From c39b8fbe6d6d7d5413fa2d372c04aabc75818921 Mon Sep 17 00:00:00 2001 From: Udhay-Adithya Date: Sun, 6 Jul 2025 12:22:58 +0530 Subject: [PATCH] refactor: remove unused import and logging from JWT generation --- packages/better_networking/lib/utils/auth/jwt_auth_utils.dart | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/better_networking/lib/utils/auth/jwt_auth_utils.dart b/packages/better_networking/lib/utils/auth/jwt_auth_utils.dart index 791a3044..3a81a07a 100644 --- a/packages/better_networking/lib/utils/auth/jwt_auth_utils.dart +++ b/packages/better_networking/lib/utils/auth/jwt_auth_utils.dart @@ -1,5 +1,4 @@ import 'dart:convert'; -import 'dart:developer'; import 'package:better_networking/models/auth/auth_jwt_model.dart'; import 'package:dart_jsonwebtoken/dart_jsonwebtoken.dart'; @@ -46,7 +45,6 @@ String generateJWT(AuthJwtModel jwtAuth) { return token; } catch (e) { - log(e.toString()); throw Exception('Failed to generate JSON Wweb Token: $e'); } }