Skip to content

Commit

Permalink
fix typo in uri for embed in bluesky post
Browse files Browse the repository at this point in the history
  • Loading branch information
amatissart committed Feb 6, 2025
1 parent 6b19ee1 commit 07e2dfa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/twitterbot/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def create_bluesky_post(
external=models.AppBskyEmbedExternal.External(
title=embed_video.metadata.get("name", ""),
description=embed_video.metadata.get("uploader", ""),
uri=f"https://tournesolapp/entities/{embed_video.uid}",
uri=f"https://tournesol.app/entities/{embed_video.uid}",
thumb=thumb_blob,
)
)
Expand Down
2 changes: 1 addition & 1 deletion backend/twitterbot/tournesolbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@


def get_video_short_url(video: Entity):
return f"tournesol.app/entities/yt:{video.video_id}"
return f"tournesol.app/entities/{video.uid}"


def get_best_criteria(video, nb_criteria):
Expand Down

0 comments on commit 07e2dfa

Please sign in to comment.