Refactoring + Version améliorée
This commit is contained in:
@@ -174,7 +174,7 @@ class EventRemoteDataSource {
|
||||
print('Réouverture de l\'événement avec l\'ID: $eventId');
|
||||
|
||||
final response = await client.post(
|
||||
Uri.parse('${Urls.baseUrl}/$eventId/reopen'),
|
||||
Uri.parse('${Urls.reopenEvent}/$eventId/reopen'),
|
||||
headers: {'Content-Type': 'application/json'},
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user