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 bb49ac2 commit 6ad3977
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions marketplace-ui/src/app/modules/product/product.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,11 @@ export class ProductService {

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

sendRequestToGetProductVersionsForDesigner(productId: string) {
Expand Down

0 comments on commit 6ad3977

Please sign in to comment.