Skip to content

Commit

Permalink
fix: remove unnecessary client.release() (#306)
Browse files Browse the repository at this point in the history
  • Loading branch information
juanmahidalgo authored Jun 14, 2023
1 parent f1c430c commit 1d6943d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/ports/catalog/component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ export function createCatalogComponent(options: {
)
if (filteredItemsById.rowCount === 0) {
// if no items matched the search text, return empty result
client.release()
return { data: [], total: 0 }
}
filters.ids = [
Expand Down

0 comments on commit 1d6943d

Please sign in to comment.