small fix

This commit is contained in:
shimon
2022-07-05 11:55:49 +03:00
parent c2e599222e
commit e48e1dae2c
16 changed files with 1006 additions and 556 deletions
+1 -1
View File
@@ -153,7 +153,7 @@ App::post('/v1/projects')
}
if($dbForProject->exists($dbForProject->getDefaultDatabase(), 'video_profiles')) {
foreach (Config::getParam('profiles', []) as $profile) {
foreach (Config::getParam('video-profiles', []) as $profile) {
Authorization::skip(function () use ($project, $profile, $dbForProject) {
return $dbForProject->createDocument('video_profiles', new Document([
'name' => $profile['name'],