Skip to content

Commit

Permalink
Fix anime vote command
Browse files Browse the repository at this point in the history
  • Loading branch information
harshithmohan committed Aug 18, 2024
1 parent a3cdc1a commit 862ac43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Shoko.Server/Providers/AniDB/UDP/User/RequestVoteAnime.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class RequestVoteAnime : UDPRequest<ResponseVote>
/// </summary>
public bool Temporary { get; set; }

protected override string BaseCommand => $"VOTE type={(Temporary ? 2 : 1)}&aid={AnimeID}&value={AniDBValue}";
protected override string BaseCommand => $"VOTE type={(Temporary ? 2 : 1)}&id={AnimeID}&value={AniDBValue}";

protected override UDPResponse<ResponseVote> ParseResponse(UDPResponse<string> response)
{
Expand Down

0 comments on commit 862ac43

Please sign in to comment.