refactor: remove unused import and logging from JWT generation

This commit is contained in:
Udhay-Adithya
2025-07-06 12:22:58 +05:30
parent 13bf0549f1
commit c39b8fbe6d

View File

@@ -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');
}
}