From 980d3ee52798f5179728fbf4002d665c0f23cde7 Mon Sep 17 00:00:00 2001 From: ogerly Date: Sun, 20 Mar 2022 11:26:22 +0100 Subject: [PATCH] change parameter id to code --- frontend/src/graphql/mutations.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/graphql/mutations.js b/frontend/src/graphql/mutations.js index a7188bd50..ee400891c 100644 --- a/frontend/src/graphql/mutations.js +++ b/frontend/src/graphql/mutations.js @@ -79,7 +79,7 @@ export const deleteTransactionLink = gql` ` export const redeemTransactionLink = gql` - mutation($id: Int!) { - redeemTransactionLink(id: $id) + mutation($code: String!) { + redeemTransactionLink(id: $code) } `