diff --git a/src/store/actions.ts b/src/store/actions.ts index 52b37f5..44dc236 100644 --- a/src/store/actions.ts +++ b/src/store/actions.ts @@ -68,14 +68,18 @@ export const setCacheCollection = createAction( return Etebase.toBase64(await colMgr.cacheSave(col)); }, (_colMgr: Etebase.CollectionManager, col: Etebase.Collection) => { - return col.uid; + return { + colUid: col.uid, + }; } ); export const unsetCacheCollection = createAction( "UNSET_CACHE_COLLECTION", (_colMgr: Etebase.CollectionManager, colUid: string) => { - return colUid; + return { + colUid, + }; } );