вернули заголовки о юзерагент

This commit is contained in:
Nastya 2024-03-28 15:31:16 +03:00
parent a0dd7f0891
commit bbd6a3b817
2 changed files with 9 additions and 9 deletions

@ -27,10 +27,10 @@ export const publicationMakeRequest = ({ url, body }: any) => {
headers: {
"X-Sessionkey": SESSIONS,
"Content-Type": "multipart/form-data",
// "DeviceType" : DeviceType,
// "Device" : Device,
// "OS": OSDevice,
// "Browser" : userAgent
"DeviceType" : DeviceType,
"Device" : Device,
"OS": OSDevice,
"Browser" : userAgent
},
method: "POST",
});
@ -49,10 +49,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,

@ -1,6 +1,6 @@
{
"name": "@frontend/squzanswerer",
"version": "1.0.6",
"version": "1.0.7",
"type": "module",
"main": "./dist-package/index.js",
"module": "./dist-package/index.js",