diff --git a/commafeed-client/src/app/tree/thunks.ts b/commafeed-client/src/app/tree/thunks.ts index 0c15ac62..ac0d7a33 100644 --- a/commafeed-client/src/app/tree/thunks.ts +++ b/commafeed-client/src/app/tree/thunks.ts @@ -9,7 +9,7 @@ export const reloadTree = createAppAsyncThunk("tree/reload", async () => await c export const collapseTreeCategory = createAppAsyncThunk( "tree/category/collapse", - async (req: CollapseRequest) => await client.category.collapse(req) + async (req: CollapseRequest) => await client.category.collapse(req).then(r => r.data) ) export const selectNextUnreadTreeItem = createAppAsyncThunk(