Skip to content

Commit

Permalink
Linting...
Browse files Browse the repository at this point in the history
  • Loading branch information
mrinc committed Jun 8, 2024
1 parent 285b855 commit 7938cc7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/plugins/service-iq-enterprise/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,8 @@ export class Plugin<Meta extends object = any>
)}`,
);
if (resp.status == 200) {
return resp.data.map(x=>{
let returnObject: APIServicesResponse = {} as any;
return resp.data.map(x => {
const returnObject: APIServicesResponse = {} as any;
returnObject.idgroup = Number.parseInt(x.idgroup as unknown as string);
returnObject.description = x.description;
returnObject.packages = x.packages;
Expand All @@ -343,7 +343,7 @@ export class Plugin<Meta extends object = any>
`/api/portal/services/group/${encodeURIComponent(id)}`,
);
if (resp.status == 200) {
let returnObject: APIServicesResponse = {} as any;
const returnObject: APIServicesResponse = {} as any;
returnObject.idgroup = Number.parseInt(resp.data.idgroup as unknown as string);
returnObject.description = resp.data.description;
returnObject.packages = resp.data.packages;
Expand Down

0 comments on commit 7938cc7

Please sign in to comment.