Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Fix collection action endpoint paths

Neeraj Gupta53829800eaee
diff --git a/mobile/apps/photos/lib/gateways/collections/collections_gateway.dart b/mobile/apps/photos/lib/gateways/collections/collections_gateway.dart
index cfaa8f250f..1bd80d4f13 100644
--- a/mobile/apps/photos/lib/gateways/collections/collections_gateway.dart
+++ b/mobile/apps/photos/lib/gateways/collections/collections_gateway.dart
@@ -179,7 +179,7 @@ class CollectionsGateway {
/// Returns the raw response data containing pending actions.
Future<Map<String, dynamic>> fetchPendingRemovalActions() async {
final response = await _enteDio.get(
- "/collection-actions/pending-remove/",
+ "/collection-actions/pending-remove",
);
return response.data;
}
@@ -189,7 +189,7 @@ class CollectionsGateway {
/// Returns the raw response data containing delete suggestion actions.
Future<Map<String, dynamic>> fetchDeleteSuggestions() async {
final response = await _enteDio.get(
- "/collection-actions/delete-suggestions/",
+ "/collection-actions/delete-suggestions",
);
return response.data;
}