We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13343df commit 366838aCopy full SHA for 366838a
node/resolvers/search/index.ts
@@ -1,5 +1,5 @@
1
import { NotFoundError, UserInputError, createMessagesLoader } from '@vtex/api'
2
-import { pathOr, test } from 'ramda'
+import { pathOr } from 'ramda'
3
4
import {
5
buildAttributePath,
@@ -535,8 +535,6 @@ export const queries = {
535
},
536
537
searchMetadata: async (_: any, args: SearchMetadataArgs, ctx: Context) => {
538
- const queryTerm = args.query
539
-
540
if (args.selectedFacets) {
541
const { maps, queries } = args.selectedFacets.reduce(
542
(acc, { key, value }) => {
0 commit comments