Skip to content

Commit

Permalink
Add missing action param to changelog request
Browse files Browse the repository at this point in the history
  • Loading branch information
agc93 committed Sep 10, 2020
1 parent 5b7687e commit c6e9f23
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/NexusUploader/Services/ManageClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ public async Task<bool> AddChangelog(GameRef game, int modId, string version, st
content.Add(new StringContent(version), "new_version[]");
content.Add(new StringContent(change), "new_change[]");
}
content.Add("save".ToContent(), "action");
content.Add(new StringContent(modId.ToString()), "id");
message.Content = content;
var resp = await _httpClient.SendAsync(message);
Expand Down

0 comments on commit c6e9f23

Please sign in to comment.