From ca89c6bb6d513ff003b49836245d0956eeaf42ce Mon Sep 17 00:00:00 2001 From: Eivind Dalholt Date: Sun, 12 Nov 2023 16:22:24 +0100 Subject: [PATCH] fix: not intercept and retry assembly includes on failure (#207) --- frontend/src/services/assembly.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/services/assembly.ts b/frontend/src/services/assembly.ts index 6c72b43..6f401b8 100644 --- a/frontend/src/services/assembly.ts +++ b/frontend/src/services/assembly.ts @@ -1,5 +1,6 @@ import axios from "axios"; import { AssemblyType } from "../types/assembly"; +import { axiosNotIntercepted } from "./axiosIntercept"; export const createAssembly = async (group: string) => { return axios.post("/assembly/create", { @@ -8,7 +9,7 @@ export const createAssembly = async (group: string) => { }; export const isUserInAssembly = async (groupSlug: string): Promise => { - const res = await axios.post("/assembly/user/includes", { + const res = await axiosNotIntercepted.post("/assembly/user/includes", { groupSlug: groupSlug, }); if (res.status == 200) {