user webhook: registration and delete

This commit is contained in:
aynsix
2019-09-20 18:01:23 +04:00
parent 861785e7ab
commit 5d8132b08d
11 changed files with 61 additions and 18 deletions

View File

@@ -515,9 +515,9 @@ class UserController extends Controller
$denyColl[] = $label;
$hookData['rejected'][$bas] = $label;
}
}
$this->app['manipulator.webhook-event']->create($hookName, $hookType, $hookData);
$this->app['manipulator.webhook-event']->create($hookName, $hookType, $hookData, [$bas]);
}
if ($user->hasMailNotificationsActivated() && (0 !== count($acceptColl) || 0 !== count($denyColl))) {
$message = '';