Skip to content

Commit

Permalink
add quotes on gql request
Browse files Browse the repository at this point in the history
  • Loading branch information
Leouarz committed Feb 17, 2022
1 parent 3e1227a commit f70de46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/services/gqlQueriesBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ export class GQLQueriesBuilder {
${query.filter?.isCapsule!==undefined ? `isCapsule: ${!query.filter.isCapsule ? false : true}` : ""}
${query.filter?.priceStartRange!==undefined ? `priceStartRange: ${query.filter.priceStartRange}` : ""}
${query.filter?.priceEndRange!==undefined ? `priceEndRange: ${query.filter.priceEndRange}` : ""}
${query.filter?.timestampCreateStartRange!==undefined ? `timestampCreateStartRange: ${query.filter.timestampCreateStartRange}` : ""}
${query.filter?.timestampCreateEndRange!==undefined ? `timestampCreateEndRange: ${query.filter.timestampCreateEndRange}` : ""}
${query.filter?.timestampCreateStartRange!==undefined ? `timestampCreateStartRange: "${query.filter.timestampCreateStartRange}"` : ""}
${query.filter?.timestampCreateEndRange!==undefined ? `timestampCreateEndRange: "${query.filter.timestampCreateEndRange}"` : ""}
${query.sort ? convertSortStringDistinct(query.sort) : ""}
) {
totalCount
Expand Down

0 comments on commit f70de46

Please sign in to comment.