From cd4f80816615c724f41abd7f78ab5ba3e2634234 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Fri, 3 Feb 2023 19:33:56 -0800 Subject: [PATCH] Update remix API call to send local_id --- utils/api.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/api.tsx b/utils/api.tsx index 862dac3c..391dfeb1 100644 --- a/utils/api.tsx +++ b/utils/api.tsx @@ -120,9 +120,9 @@ class Api { return axios.get(resourceUrl, params) } - remix(shortcode: string, params?: {}) { + remix({ shortcode, body, params}: { shortcode: string, body?: {}, params?: {} }) { const resourceUrl = `${this.url}/parties/${shortcode}/remix` - return axios.post(resourceUrl, params) + return axios.post(resourceUrl, body, params) } savedTeams(params: {}) {