Skip to content

Commit 3173af9

Browse files
committed
fixed collection endpoint
1 parent 02df2e9 commit 3173af9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/collection.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const getCollectionData = async (
2424
const collectionRows = collection.value.schema;
2525
const collectionColKeys = Object.keys(collectionRows);
2626

27-
const tableArr: RowType[] = table.result.blockIds.map(
27+
const tableArr: RowType[] = table.result.reducerResults.collection_group_results.blockIds.map(
2828
(id: string) => table.recordMap.block[id]
2929
);
3030

0 commit comments

Comments
 (0)