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;
|
error?: AxiosError;
|
||||||
}> {
|
}> {
|
||||||
try {
|
try {
|
||||||
const { data, headers } = await axios<GetQuizDataResponse>(domain + `/answer/settings`, {
|
const { data, headers } = await axios<GetQuizDataResponse>(domain + `/answer/settings${window.location.search}`, {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
headers: {
|
headers: {
|
||||||
"X-Sessionkey": SESSIONS,
|
"X-Sessionkey": SESSIONS,
|
||||||
|
Loading…
Reference in New Issue
Block a user