download option in invoide

This commit is contained in:
Abhishek Mali
2025-12-19 10:48:19 +05:30
parent d606156a6d
commit e85ac4bf8c
5 changed files with 124 additions and 28 deletions

View File

@@ -46,7 +46,7 @@ class AuthService {
Future<Map<String, dynamic>> refreshToken(String oldToken) async {
try {
final response = await _dio.post(
'/user/refresh',
'/auth/refresh',
options: Options(headers: {
'Authorization': 'Bearer $oldToken',
}),