Commit 12a985bf authored by Alex Ne's avatar Alex Ne

VK FIX

parent 360b1b21
......@@ -73,7 +73,7 @@ class VKAPI {
}
if (isset($data["error"])) {
throw new VKAPIResponseError($data["error"]["msg"], $data["error"]["code"]);
throw new VKAPIResponseError($data["error"]["error_msg"], $data["error"]["error_code"]);
}
throw new VKAPIResponseNull("VK API response error", 1, ["vk_response" => $data]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment