Skip to content

Commit

Permalink
Убрать дублирование запроса в GetBotsLongPollHistory
Browse files Browse the repository at this point in the history
Так же это исправляет кривую обработку ошибок
  • Loading branch information
ivanmem committed Jul 31, 2023
1 parent 346f055 commit ac0a3c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion VkNet/Categories/GroupsCategory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1210,7 +1210,7 @@ public T GetBotsLongPollHistory<T>(BotsLongPollHistoryParams @params)
}
}

return _vk.CallLongPoll<T>(@params.Server, parameters);
return JsonConvert.DeserializeObject<T>(response.RawJson);
}

/// <inheritdoc />
Expand Down

0 comments on commit ac0a3c9

Please sign in to comment.