From 8d7eef99adb1218e2e124cd8827c9311e69910d9 Mon Sep 17 00:00:00 2001 From: Neeraj Gupta <254676+ua741@users.noreply.github.com> Date: Fri, 14 Feb 2025 15:54:14 +0530 Subject: [PATCH] [mob] Fix collection attribute motification --- mobile/lib/services/collections_service.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mobile/lib/services/collections_service.dart b/mobile/lib/services/collections_service.dart index 941f874d38..75ada90f20 100644 --- a/mobile/lib/services/collections_service.dart +++ b/mobile/lib/services/collections_service.dart @@ -798,7 +798,7 @@ class CollectionsService { ); await _enteDio.put( "/collections/magic-metadata", - data: params, + data: params.toJson(), ); // update the local information so that it's reflected on UI collection.mMdEncodedJson = jsonEncode(jsonToUpdate); @@ -857,7 +857,7 @@ class CollectionsService { ); await _enteDio.put( "/collections/public-magic-metadata", - data: params, + data: params.toJson(), ); // update the local information so that it's reflected on UI collection.mMdPubEncodedJson = jsonEncode(jsonToUpdate); @@ -917,7 +917,7 @@ class CollectionsService { ); await _enteDio.put( "/collections/sharee-magic-metadata", - data: params, + data: params.toJson(), ); // update the local information so that it's reflected on UI collection.sharedMmdJson = jsonEncode(jsonToUpdate);