dev@locazia: fix display

This commit is contained in:
user 2024-03-08 02:21:35 +03:00
parent de9c696918
commit a75dc3f31a
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ from app.core._config import PROJECT_HOST
async def s_api_tonconnect_manifest(request):
return response.json({
"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",
})

View File

@ -14,4 +14,4 @@ class DisplayMixin:
if not plain_text:
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()