send search params when fetching quiz settings

This commit is contained in:
nflnkr 2024-06-02 13:12:08 +03:00
parent 0372a4ea84
commit 430d4f1a4b

@ -78,7 +78,7 @@ export async function getData(quizId: string): Promise<{
error?: AxiosError;
}> {
try {
const { data, headers } = await axios<GetQuizDataResponse>(domain + `/answer/settings`, {
const { data, headers } = await axios<GetQuizDataResponse>(domain + `/answer/settings${window.location.search}`, {
method: "POST",
headers: {
"X-Sessionkey": SESSIONS,