Skip to content

Commit

Permalink
fix(server-aggregate): fix checking whether the query is the named ag…
Browse files Browse the repository at this point in the history
…gregation
  • Loading branch information
cray0000 committed Sep 6, 2024
1 parent 71a44c6 commit 715adfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server-aggregate/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default (backend, { customCheck } = {}) => {
}

const { $aggregationName: queryName, $params: queryParams = {} } = query
if (!queryName && !queryParams) return
if (!queryName) return

const queryFunction = QUERIES[collection + '.' + queryName]

Expand Down

0 comments on commit 715adfe

Please sign in to comment.