Merge branch 'feat-functions-refactor' into feat-functions-refactor-merge

This commit is contained in:
Damodar Lohani
2022-02-22 05:48:03 +00:00
27 changed files with 477 additions and 749 deletions
+1 -1
View File
@@ -601,7 +601,7 @@ App::post('/v1/projects/:projectId/webhooks')
throw new Exception('Project not found', 404, Exception::PROJECT_NOT_FOUND);
}
$security = ($security === '1' || $security === 'true' || $security === 1 || $security === true);
$security = (bool) filter_var($security, FILTER_VALIDATE_BOOLEAN);
$webhook = new Document([
'$id' => $dbForConsole->getId(),