Skip to content

Commit

Permalink
updateEntraApp fix
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbalfour committed Nov 2, 2023
1 parent 3213a20 commit a84a817
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ const createEntraApp = async (app: Application) => {
}

const updateEntraApp = async (appId: string, app: Application) => {
const res = await client.api(`/applications(appId='${appId}')`).patch(app)
return res as Application
await client.api(`/applications(appId='${appId}')`).patch(app)
return (await client.api(`/applications(appId='${appId}')`).get()) as Application
}

const deleteEntraApp = async (appId: string) => {
Expand Down

0 comments on commit a84a817

Please sign in to comment.