Skip to content

Commit 366838a

Browse files
committed
remove unecessary queryTerm
1 parent 13343df commit 366838a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

node/resolvers/search/index.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { NotFoundError, UserInputError, createMessagesLoader } from '@vtex/api'
2-
import { pathOr, test } from 'ramda'
2+
import { pathOr } from 'ramda'
33

44
import {
55
buildAttributePath,
@@ -535,8 +535,6 @@ export const queries = {
535535
},
536536

537537
searchMetadata: async (_: any, args: SearchMetadataArgs, ctx: Context) => {
538-
const queryTerm = args.query
539-
540538
if (args.selectedFacets) {
541539
const { maps, queries } = args.selectedFacets.reduce(
542540
(acc, { key, value }) => {

0 commit comments

Comments
 (0)