mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Move the null check in the outside.
AddCursor() should not accept the null value.
This commit is contained in:
@ -112,7 +112,8 @@ namespace osu.Game.Online.API.Requests
|
||||
|
||||
req.AddParameter("nsfw", ExplicitContent == SearchExplicit.Show ? "true" : "false");
|
||||
|
||||
req.AddCursor(cursor);
|
||||
if (cursor != null)
|
||||
req.AddCursor(cursor);
|
||||
|
||||
return req;
|
||||
}
|
||||
|
Reference in New Issue
Block a user