Skip to content

Commit

Permalink
fix sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
phhung-axonivy committed Sep 6, 2024
1 parent 6ad3977 commit a6d3c3f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions marketplace-ui/src/app/modules/product/product.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,11 @@ export class ProductService {

sendRequestToUpdateInstallationCount(productId: string, designerVersion: string) {
const url = 'api/product-details/installationcount/' + productId;
const headers = { 'X-Requested-By': 'ivy' };
const params = { designerVersion: designerVersion };
const options = {
headers: { 'X-Requested-By': 'ivy' },
params: { 'designerVersion': designerVersion }
headers,
params
};
return this.httpClient.put<number>(url, null, options);
}
Expand Down

0 comments on commit a6d3c3f

Please sign in to comment.