|
@@ -103,6 +103,9 @@ class ProvisioningAPI:
|
|
|
await user.logout()
|
|
|
else:
|
|
|
data["instagram"] = resp.user.serialize()
|
|
|
+ pl = user.state.device.payload
|
|
|
+ manufacturer, model = pl["manufacturer"], pl["model"]
|
|
|
+ data["instagram"]["device_displayname"] = f"{manufacturer} {model}"
|
|
|
return web.json_response(data, headers=self._acao_headers)
|
|
|
|
|
|
async def login(self, request: web.Request) -> web.Response:
|