Skip to content

Commit

Permalink
use PostLiquidityWithdrawalInput
Browse files Browse the repository at this point in the history
  • Loading branch information
lengyel-arpad85 committed May 7, 2024
1 parent 2cdd14e commit 05631c5
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions localenv/mock-account-servicing-entity/app/lib/webhooks.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,16 +221,22 @@ export async function handleWalletAddressWebMonetization(wh: Webhook) {

return await apolloClient.mutate({
mutation: gql`
mutation PostLiquidityWithdrawal ($withdrawalId: String!) {
postLiquidityWithdrawal($withdrawalId: String!) {
code
success
message
error
mutation PostLiquidityWithdrawal(
$input: PostLiquidityWithdrawalInput!
) {
postLiquidityWithdrawal(input: $input) {
code
success
message
error
}
}
}`,
`,
variables: {
withdrawalId: withdrawalId
input: {
withdrawalId: withdrawalId,
idempotencyKey: uuid()
}
}
})
} catch (err) {
Expand Down

0 comments on commit 05631c5

Please sign in to comment.