VKAPI: Wall.get now require user

This commit is contained in:
veselcraft 2022-12-22 01:05:49 +03:00
parent e834fae0fe
commit 3b0a69ebaa
No known key found for this signature in database
GPG key ID: AED66BC1AC628A4E

View file

@ -14,6 +14,8 @@ final class Wall extends VKAPIRequestHandler
{ {
function get(int $owner_id, string $domain = "", int $offset = 0, int $count = 30, int $extended = 0): object function get(int $owner_id, string $domain = "", int $offset = 0, int $count = 30, int $extended = 0): object
{ {
$this->requireUser();
$posts = new PostsRepo; $posts = new PostsRepo;
$items = []; $items = [];