fix url response

This commit is contained in:
Cayo Puigdefabregas 2022-05-04 17:58:14 +02:00
parent 780b7d4ef2
commit 20fc9ded06
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ class InventoryView(LoginMix, SnapshotMix):
db.session.commit()
self.response = jsonify(
{
'url': snapshot.device.url,
'url': snapshot.device.url.to_text(),
'dhid': snapshot.device.devicehub_id,
'sid': snapshot.sid,
}