Skip to content

Commit

Permalink
Методы Audio.Delete и Audio.Restore вызывали ошибку
Browse files Browse the repository at this point in the history
  • Loading branch information
inyutin-maxim committed Feb 21, 2016
1 parent ed4db34 commit 5fb3082
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions VkNet/Categories/AudioCategory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,8 @@ public bool Delete(long audioId, long ownerId)
{
var parameters = new VkParameters
{
{ "aid", audioId },
{ "oid", ownerId }
{ "audio_id", audioId },
{ "owner_id", ownerId }
};

return _vk.Call("audio.delete", parameters);
Expand Down Expand Up @@ -288,8 +288,8 @@ public Audio Restore(long audioId, long? ownerId = null)
{
var parameters = new VkParameters
{
{ "aid", audioId },
{ "oid", ownerId }
{ "audio_id", audioId },
{ "owner_id", ownerId }
};

return _vk.Call("audio.restore", parameters);
Expand Down

0 comments on commit 5fb3082

Please sign in to comment.