Skip to content

Commit

Permalink
fix: not intercept and retry assembly includes on failure (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
edalholt authored Nov 12, 2023
1 parent 40e4a57 commit ca89c6b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/services/assembly.ts
Original file line number Diff line number Diff line change
@@ -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", {
Expand All @@ -8,7 +9,7 @@ export const createAssembly = async (group: string) => {
};

export const isUserInAssembly = async (groupSlug: string): Promise<boolean> => {
const res = await axios.post("/assembly/user/includes", {
const res = await axiosNotIntercepted.post("/assembly/user/includes", {
groupSlug: groupSlug,
});
if (res.status == 200) {
Expand Down

0 comments on commit ca89c6b

Please sign in to comment.