send search params when fetching quiz settings
This commit is contained in:
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,
|
||||
|
Loading…
Reference in New Issue
Block a user