From 1f69a7929ef3d20951238398aa295374e19ff1a1 Mon Sep 17 00:00:00 2001 From: abazov73 <92822431+abazov73@users.noreply.github.com> Date: Tue, 16 May 2023 01:32:23 +0400 Subject: [PATCH] =?UTF-8?q?=D0=A8=D0=B5=D1=81=D1=82=D0=B0=D1=8F=20=D0=BB?= =?UTF-8?q?=D0=B0=D0=B1=D0=BE=D1=80=D0=B0=D1=82=D0=BE=D1=80=D0=BD=D0=B0?= =?UTF-8?q?=D1=8F=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D0=B0.=20=D0=A4=D0=B8?= =?UTF-8?q?=D0=BA=D1=81=20Post=20=D0=B8=20Put=20=D0=B7=D0=B0=D0=BF=D1=80?= =?UTF-8?q?=D0=BE=D1=81=D0=BE=D0=B2.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/ipLab/data.mv.db | Bin 114688 -> 114688 bytes frontend/src/services/DataService.js | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/ipLab/data.mv.db b/backend/ipLab/data.mv.db index cac197a704358fa4e72ab8e778b65cde2b639568..d358ec9396150e8accc7532f061449b778fd2a28 100644 GIT binary patch delta 2267 zcmd6oUuYaf9LINdFL&ux(zMswla%yq)U>*Zvwv@PK~2p=EBGfqq`?O@v%9m+_0qeL zTuKG0SA4KgrP>ivpBn!_(FgHZB^KYcFT%A?f*?|mK3BoF5NBs^|Fl9Af)6enH{31r z`_1?J`F*F|F0|W)4-bi0{phjLeOQ(KdD3#{$fB(vY(b-{6+8IqF1oR6WV3gIjf4FY z9^1m1Z@P8cl;=sqR^-!o!B!o}zR%hSLAgQBwropYz$eL)t;&ndX3Hk*kMPlvg5*~1 zG_e(3RXvP7S3W})muk(1t+Ab3P1mlf2JO7^!v3Nl2zBXgVIU`bb_aZZ2i*P(+UFUSXK5 zlmL8x9e}Utrxy+l>JUSDzIKL8@%{;Y?#i@?Azhstkqn6Fx!RZFHE?;gO#eQ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PE*>O)#oXUeoP^%4P5TH*P9sn0G zcsY@$Y-oUbWhenwrMm$ND6tQd-%9O%o}sIvhgzlW+yUuCIHL5%p$3^DYdY1M0H=}m z(H`2blqcXZ+*Up$z=hLNfwE*Uoe2Tu*dVy5;4O^)aM?V66!c*CkJ^QLXqj=Y_Rcv8 z2y;&SOfV441hiN5^IE{n+wx1ws|E;K0{)CXC3hF>#=4)5ey)f@`I5Ojt05~clocnk z5iZ20#i8~sv1Q1PXFF<;8lLmCX=&Qi#k8l%YC?9tC1jG|i{^F8_eR)nGOagE{YA-z Me<@K5rzT$g0x9xuBme*a diff --git a/frontend/src/services/DataService.js b/frontend/src/services/DataService.js index 2f755b5..d583004 100644 --- a/frontend/src/services/DataService.js +++ b/frontend/src/services/DataService.js @@ -31,12 +31,12 @@ export default class DataService { } static async create(url, data) { - const response = await axios.post(this.dataUrlPrefix + url, data); + const response = await axios.post(this.dataUrlPrefix + url, data, {headers: {"Authorization": getTokenForHeader()}}); return true; } static async update(url, data) { - const response = await axios.put(this.dataUrlPrefix + url, data); + const response = await axios.put(this.dataUrlPrefix + url, data, {headers: {"Authorization": getTokenForHeader()}}); return true; }