get data v1.0.0

This commit is contained in:
Nastya 2024-06-14 22:39:51 +03:00
parent 43a391aaf9
commit b092abc4f7

@ -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${window.location.search}`, { const { data, headers } = await axios<GetQuizDataResponse>(domain + `/answer/v1.0.0/settings${window.location.search}`, {
method: "POST", method: "POST",
headers: { headers: {
"X-Sessionkey": SESSIONS, "X-Sessionkey": SESSIONS,