feature/cierres #25

Open
aldarien wants to merge 446 commits from feature/cierres into develop
150 changed files with 577 additions and 5303 deletions
Showing only changes of commit 48bcb33bad - Show all commits

View File

@ -436,7 +436,7 @@ class Toku extends Ideal\Service
$query = $this->connection->getQueryBuilder()
->select('secret')
->from('toku_webhooks')
->where('enabled = ? AND event_type LIKE ?');
->where('enabled = ? AND events LIKE ?');
$params = [true, "%\"{$eventType}\"%"];
$statement = $this->connection->prepare($query);
$statement->execute($params);