download option in invoide
This commit is contained in:
@@ -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',
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user