Chore, applied black
This commit is contained in:
@@ -76,11 +76,10 @@ class Track(BaseModel):
|
||||
return None
|
||||
|
||||
url = request.url_for("livestream.track_redirect_download", track_id=self.id)
|
||||
url_with_query = f"{url}?p={payment_hash}"
|
||||
url_with_query = f"{url}?p={payment_hash}"
|
||||
|
||||
return UrlAction(
|
||||
url=url_with_query,
|
||||
description=f"Download the track {self.name}!",
|
||||
url=url_with_query, description=f"Download the track {self.name}!"
|
||||
)
|
||||
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ async def api_livestream_from_wallet(
|
||||
ls = await get_or_create_livestream_by_wallet(g.wallet.id)
|
||||
tracks = await get_tracks(ls.id)
|
||||
producers = await get_producers(ls.id)
|
||||
|
||||
|
||||
try:
|
||||
return {
|
||||
**ls.dict(),
|
||||
|
||||
Reference in New Issue
Block a user