Skip to content

Commit

Permalink
Use correct submission ID for BlueSky URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
faucetlol authored Oct 19, 2024
1 parent 6531db7 commit bb8b892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/logical/scraper/bluesky.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def fetch_next_batch
def to_submission(submission)
record = submission["record"]
s = Submission.new
s.identifier = submission["cid"]
s.identifier = submission["uri"].split("/").last
s.title = ""
s.description = record["text"]
s.created_at = DateTime.parse(record["createdAt"])
Expand Down

0 comments on commit bb8b892

Please sign in to comment.