poetry migration and general server cleanup

This commit is contained in:
Lucas Jensen
2024-06-29 11:41:32 -07:00
parent c2fa4b12ea
commit 53850749b8
11 changed files with 1369 additions and 220 deletions

View File

@@ -52,7 +52,7 @@ def delete_project(project_id: int) -> None:
def get_about() -> About:
db = connect_db()
cursor = db.cursor(dictionary=True)
cursor.execute("SELECT name, email, bio, github FROM self")
cursor.execute("SELECT name, email, bio, github, gitea FROM self")
data = {key: val for key, val in cursor.fetchone().items()} # type: ignore
db.close()
return About(**data)