From f6905d3720c1c3b319a34e7cc158c34582a88cb6 Mon Sep 17 00:00:00 2001 From: Abhishek Pandey Date: Tue, 28 Nov 2023 23:48:26 -0800 Subject: [PATCH] Go after 0.42gb of remaining literal store --- src/internal/m365/collection/drive/collection.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/internal/m365/collection/drive/collection.go b/src/internal/m365/collection/drive/collection.go index 65cb09077..1271e2bf5 100644 --- a/src/internal/m365/collection/drive/collection.go +++ b/src/internal/m365/collection/drive/collection.go @@ -198,11 +198,11 @@ func (oc *Collection) Add(cdi CorsoDriveItemable) bool { // oc.driveItems[ptr.Val(item.GetId())] = item //cdi := ToCorsoDriveItemable(item) - _, found := oc.driveItems[ptr.Val(cdi.GetId())] - oc.driveItems[ptr.Val(cdi.GetId())] = cdi + //_, found := oc.driveItems[ptr.Val(cdi.GetId())] + //oc.driveItems[ptr.Val(cdi.GetId())] = cdi // if !found, it's a new addition - return !found + return true } // Remove removes a item from the collection