Skip to content

Commit

Permalink
Merge pull request #89 from hotwax/#88_solr_query_get_method_error
Browse files Browse the repository at this point in the history
Improved: Used POST mehtod instead of GET for solr-query endPoint (#88).
  • Loading branch information
ravilodhi authored Sep 13, 2024
2 parents 486bef7 + 5d84f99 commit 9489a10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/product/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ async function fetchProducts(params: any): Promise<any | Response> {
try {
const resp = await api({
url: "solr-query",
method: "get",
params: payload,
method: "post",
data: payload,
cache: true
}) as any;

Expand Down

0 comments on commit 9489a10

Please sign in to comment.