basic frontend and backend functionality. Need to test with actual livestream

This commit is contained in:
Lucas Jensen
2025-01-12 16:47:04 -08:00
parent 5b73cecee9
commit c482f6758c
12 changed files with 122 additions and 18 deletions

View File

@@ -57,3 +57,13 @@ class GroupController(BaseController):
detail=f"Error updating group bio: {e}",
)
return self.get_group()
def update_livestream(self, livestream_id: str) -> Group:
try:
self.group_queries.update_livestream(livestream_id)
except Exception as e:
raise HTTPException(
status_code=status.HTTP_500_INTERNAL_SERVER_ERROR,
detail=f"Error updating livestram: {e}",
)
return self.get_group()