dev@locazia: fix display
This commit is contained in:
parent
de9c696918
commit
a75dc3f31a
|
|
@ -6,7 +6,7 @@ from app.core._config import PROJECT_HOST
|
||||||
async def s_api_tonconnect_manifest(request):
|
async def s_api_tonconnect_manifest(request):
|
||||||
return response.json({
|
return response.json({
|
||||||
"url": f"{PROJECT_HOST}/#from=tonconnect",
|
"url": f"{PROJECT_HOST}/#from=tonconnect",
|
||||||
"name": f"{PROJECT_HOST}", # TODO: maybe edit
|
"name": "@MY Node",
|
||||||
"iconUrl": "https://github.com/projscale/assets/blob/main/ton-connect.png?raw=true",
|
"iconUrl": "https://github.com/projscale/assets/blob/main/ton-connect.png?raw=true",
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,4 +14,4 @@ class DisplayMixin:
|
||||||
if not plain_text:
|
if not plain_text:
|
||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
|
|
||||||
return f"{self.meta.get('first_name', '')} {self.meta.get('last_name', '')}".strip()
|
return f"{self.meta.get('first_name') or ''} {self.meta.get('last_name') or ''}".strip()
|
||||||
Loading…
Reference in New Issue