1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-03-20 06:50:23 +03:00

Fix key name in server response to use 'hostname' instead of 'name'

This commit is contained in:
Adolfo Gómez García 2025-01-20 23:51:36 +01:00
parent f5dedb1cde
commit 0fefd8864a
No known key found for this signature in database
GPG Key ID: DD1ABF20724CDA23

View File

@ -517,7 +517,7 @@ class ServersGroups(ModelHandler):
'stats': s[0].as_dict() if s[0] else None,
'server': {
'id': s[1].uuid,
'name': s[1].hostname,
'hostname': s[1].hostname,
'ip': s[1].ip,
},
}