Fix GetMessageAddressee response format

This commit is contained in:
Mikołaj Pich 2021-12-30 19:13:03 +01:00
parent 1d36a28cdf
commit 1d0b92b690

View file

@ -270,9 +270,8 @@ router.all("/Wiadomosc.mvc/GetMessageAddressee", (req, res) => {
"success": true, "success": true,
"data": [ "data": [
{ {
"Nazwa": `${recipient.Imie} ${recipient.Nazwisko} [${recipient.Kod}] - pracownik (${user.JednostkaSprawozdawczaSkrot})`,
"Data": "2020-04-07 19:05:00",
"Id": recipient.Id * 8, // ¯\_(ツ)_/¯ "Id": recipient.Id * 8, // ¯\_(ツ)_/¯
"Name": `${recipient.Imie} ${recipient.Nazwisko} [${recipient.Kod}] - pracownik (${user.JednostkaSprawozdawczaSkrot})`,
"IdLogin": recipient.LoginId, "IdLogin": recipient.LoginId,
"Role": 7, "Role": 7,
"Hash": "abcd==", "Hash": "abcd==",