eyecandy improvements
Build LinkLog Development Image / development-image (push) Successful in 10s

This commit is contained in:
2026-08-26 13:46:33 +02:00
parent 134e463a81
commit 4854eb8df6
5 changed files with 26 additions and 9 deletions
+9
View File
@@ -127,6 +127,15 @@ def list_public_links(username: str | None = None):
return records
def get_public_profile(username: str) -> dict | None:
with get_connection() as conn:
row = conn.execute(
'SELECT username, avatar_url, bio FROM users WHERE username = ?',
(username,),
).fetchone()
return dict(row) if row else None
def update_link(
link_id: str,
user_id: str,