diff --git a/src/services/campaign.ts b/src/services/campaign.ts index 117c478119..e7440c4ffa 100644 --- a/src/services/campaign.ts +++ b/src/services/campaign.ts @@ -240,8 +240,8 @@ const campaignApi = createApi({ transformResponse: (data: any) => formatTxs(data?.data || []), }), joinCampaign: builder.mutation({ - query: ({ recaptchaId, ...data }) => ({ - data, + query: ({ recaptchaId, ...body }) => ({ + body, method: 'POST', url: `/${recaptchaId}/participants`, }),