Skip to content

Commit

Permalink
fix: Parenthesize the await
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Nov 27, 2024
1 parent 1a208d2 commit 1fe1a87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qlik.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export async function addTicket(userdir, user, attributes, targetId) {
body: JSON.stringify(payload),
});

return await response.json().Ticket;
return (await response.json()).Ticket;
} catch (err) {
console.error(err);
}
Expand Down

0 comments on commit 1fe1a87

Please sign in to comment.