вернули заголовки о юзерагент
This commit is contained in:
parent
a0dd7f0891
commit
bbd6a3b817
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user