Fix GetMessageAddressee response format
This commit is contained in:
parent
1d36a28cdf
commit
1d0b92b690
1 changed files with 1 additions and 2 deletions
|
@ -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==",
|
||||||
|
|
Loading…
Reference in a new issue