Skip to content

Commit 1d9e97a

Browse files
committed
fix: update listCatalog call to use CatalogFilters object parameter
1 parent 98de06a commit 1d9e97a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

commitly-frontend/app/search/page.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,11 @@ export default function SearchPage() {
112112
let cancelled = false;
113113
const load = async () => {
114114
setPublicLoading(true);
115-
const response = await repoService.listCatalog(1, 50, sortBy);
115+
const response = await repoService.listCatalog({
116+
page: 1,
117+
page_size: 50,
118+
sort: sortBy,
119+
});
116120
if (cancelled) {
117121
return;
118122
}

0 commit comments

Comments
 (0)