send uesragent

This commit is contained in:
Nastya 2024-04-07 18:05:11 +03:00
parent 3dab3b9550
commit c718bd1624

@ -43,10 +43,10 @@ export const publicationMakeRequest = ({ url, body }: any) => {
headers: {
"X-Sessionkey": SESSIONS,
"Content-Type": "multipart/form-data",
// "DeviceType" : DeviceType,
// "Device" : Device,
// "OS": OSDevice,
// "Browser" : browserUser
"DeviceType" : DeviceType,
"Device" : Device,
"OS": OSDevice,
"Browser" : browserUser
},
method: "POST",
});
@ -65,10 +65,10 @@ export async function getData(quizId: string): Promise<{
headers: {
"X-Sessionkey": SESSIONS,
"Content-Type": "application/json",
// "DeviceType" : DeviceType,
// "Device" : Device,
// "OS": OSDevice,
// "Browser" : userAgent
"DeviceType" : DeviceType,
"Device" : Device,
"OS": OSDevice,
"Browser" : userAgent
},
data: {
quiz_id: quizId,