mirror of https://github.com/ppy/osu
Fix incorrect hash usage
This commit is contained in:
parent
21c8ef576c
commit
e8455dc1e4
|
@ -10,7 +10,7 @@ public class GetBeatmapRequest : APIRequest<APIBeatmap>
|
|||
{
|
||||
private readonly BeatmapInfo beatmap;
|
||||
|
||||
private string lookupString => beatmap.OnlineBeatmapID > 0 ? beatmap.OnlineBeatmapID.ToString() : $@"lookup?checksum={beatmap.Hash}&filename={System.Uri.EscapeUriString(beatmap.Path)}";
|
||||
private string lookupString => beatmap.OnlineBeatmapID > 0 ? beatmap.OnlineBeatmapID.ToString() : $@"lookup?checksum={beatmap.MD5Hash}&filename={System.Uri.EscapeUriString(beatmap.Path)}";
|
||||
|
||||
public GetBeatmapRequest(BeatmapInfo beatmap)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue