Skip to content

Commit

Permalink
fix: torrent hash
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-ding committed Feb 2, 2025
1 parent 2821d49 commit 8a8bf87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ func Link2Hash(link string) (string, error) {
if err != nil {
return "", errors.Wrap(err, "parse response")
}
return info.HashInfoBytes().AsString(), nil
return info.HashInfoBytes().HexString(), nil
}

func Link2Magnet(link string) (string, error) {
Expand Down

0 comments on commit 8a8bf87

Please sign in to comment.