Fiyed user constructor

This commit is contained in:
aymm 2021-03-11 16:49:27 +00:00
parent f0b5a5dc50
commit 171b4a0ec6

View File

@ -75,7 +75,7 @@ class Poll
}
$this->prompt = $data['prompt'];
if (!empty($data['user'])) {
$this->user = new User($data['user']);
$this->user = new User($data['user'], $this->api);
}
if (!empty($data['source'])) {
$this->source = new Source($data['source']);