From c718bd1624fb5347385f291a8ae4ac1d3d4051ba Mon Sep 17 00:00:00 2001 From: Nastya Date: Sun, 7 Apr 2024 18:05:11 +0300 Subject: [PATCH] send uesragent --- lib/api/quizRelase.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/api/quizRelase.ts b/lib/api/quizRelase.ts index eeede44..e653904 100644 --- a/lib/api/quizRelase.ts +++ b/lib/api/quizRelase.ts @@ -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,