Skip to content

Commit

Permalink
Improved: Used POST mehtod instead of GET for solr-query endPoint (#88).
Browse files Browse the repository at this point in the history
  • Loading branch information
ravilodhi committed Sep 13, 2024
1 parent 486bef7 commit 5d84f99
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 5d84f99

Please sign in to comment.