Fixes ACCOUNTS-4

This commit is contained in:
ErickSkrauch 2020-06-25 21:31:32 +03:00
parent 5fbc167708
commit 89526c39bb
No known key found for this signature in database
GPG Key ID: 669339FCBB30EE0E

View File

@ -17,7 +17,7 @@ class WebhooksController extends Controller {
public function actionList(): void {
$rows = [];
/** @var WebHook $webHook */
foreach (WebHook::find()->with('events')->all() as $webHook) {
foreach (WebHook::find()->all() as $webHook) {
$rows[] = [$webHook->id, $webHook->url, $webHook->secret, implode(', ', $webHook->events)];
}