diff --git a/.circleci/config.yml b/.circleci/config.yml index c56ae89..597ed36 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -56,10 +56,7 @@ workflows: version: 2 build_and_deploy: jobs: - - build - - build_docker: - requires: - - build + - build_docker - deploy: requires: - build_docker diff --git a/.gitignore b/.gitignore index 2cdbda9..2955e70 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,6 @@ get402.json dist/ .rabbi/config.json keys/ +downloads +.runcache +.DS_Store diff --git a/src/jwt.ts b/src/jwt.ts index 6669d35..9705322 100644 --- a/src/jwt.ts +++ b/src/jwt.ts @@ -22,7 +22,7 @@ export const generate = (privateKey, { id, name, email, avatar, appId, kid, bala moderator }, features: { - livestreaming: 'false', + livestreaming: moderator ? 'true' : 'false', recording: 'true', transcription: 'false', "outbound-call": 'false'