Skip to content

Commit 855430d

Browse files
author
John Rogers
committed
Removed optional parameters from fetchResultByUuid and fetchResultsByUuids endpoints, now only passing uuid or slug to enhance API performance while maintaining batch lookup support.
1 parent 8d2e8f9 commit 855430d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.cursor-updates

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,4 @@
7272
- Fixed 'No results' message flashing during search - now only shows after search actually completes (loading goes from true to false), preventing false "0 results" display while search is in progress
7373
- Fixed variables table hiding logic - now correctly hides when get_variables returns no results on first page, regardless of whether there's a search query
7474
- Replaced /items/[slug] with catch-all route /items/[[...slug]] that pre-generates and pre-renders all item routes (by slug and UUID, 21k+ routes) with data at build time, just like studies pages - fetches from cache/API during build and passes to component, fetchResultByUuid handles both slugs and UUIDs
75-
- Removed all optional parameters (query, alpha, maxVectorDistance, maxDistanceMode) from fetchResultByUuid lookup endpoint - now only passes uuid or slug to improve API performance
75+
- Removed all optional parameters (query, alpha, maxVectorDistance, maxDistanceMode) from fetchResultByUuid and fetchResultsByUuids lookup endpoints - now only passes uuid or slug to improve API performance, batch lookup still supported

0 commit comments

Comments
 (0)