fix url response
This commit is contained in:
parent
780b7d4ef2
commit
20fc9ded06
|
@ -63,7 +63,7 @@ class InventoryView(LoginMix, SnapshotMix):
|
||||||
db.session.commit()
|
db.session.commit()
|
||||||
self.response = jsonify(
|
self.response = jsonify(
|
||||||
{
|
{
|
||||||
'url': snapshot.device.url,
|
'url': snapshot.device.url.to_text(),
|
||||||
'dhid': snapshot.device.devicehub_id,
|
'dhid': snapshot.device.devicehub_id,
|
||||||
'sid': snapshot.sid,
|
'sid': snapshot.sid,
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue