Skip to content

Commit

Permalink
fix saltstack api call function to bumping axis from 0.21.1 to 0.21.2…
Browse files Browse the repository at this point in the history
… in frontend
  • Loading branch information
yongsikgi committed Dec 15, 2021
1 parent e8c7e32 commit c5042cd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions frontend/src/shared/apis/saltStack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@ const apiRequest = async (
'Content-type': 'application/json',
}

const param = JSON.stringify(Object.assign(dParams, pParams))

const param = Object.assign(dParams, pParams)
const ajaxResult = await AJAX({
method: 'POST',
url: url,
Expand Down Expand Up @@ -118,7 +117,7 @@ const apiRequestMulti = async (
'Content-type': 'application/json',
}

const param = JSON.stringify(pParams)
const param = pParams

const ajaxResult = await AJAX({
method: 'POST',
Expand Down

0 comments on commit c5042cd

Please sign in to comment.