1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-11-23 20:12:08 +03:00

fix: include voice configuration sample schemas

This commit is contained in:
Divlo 2022-11-13 13:02:51 +01:00
parent fb75b40fb6
commit 4ce9676319
No known key found for this signature in database
GPG Key ID: 8F9478F220CE65E9
4 changed files with 9 additions and 9 deletions

View File

@ -1,12 +1,12 @@
{
"type": "",
"type": "service_account",
"project_id": "",
"private_key_id": "",
"private_key": "",
"client_email": "",
"client_email": "example@email.com",
"client_id": "",
"auth_uri": "",
"token_uri": "",
"auth_provider_x509_cert_url": "",
"client_x509_cert_url": ""
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/"
}

View File

@ -1,4 +1,4 @@
{
"apikey": "",
"url": ""
"url": "https://api.eu.apiconnect.ibmcloud.com/ibmcloud/ibmcloud-dev/sb/api/RESTs"
}

View File

@ -1,4 +1,4 @@
{
"apikey": "",
"url": ""
"url": "https://api.eu.apiconnect.ibmcloud.com/ibmcloud/ibmcloud-dev/sb/api/RESTs"
}

View File

@ -81,7 +81,7 @@ const GLOBAL_DATA_SCHEMAS = {
const voiceConfigFiles = (
await fs.promises.readdir(VOICE_CONFIG_PATH)
).filter((file) => file.endsWith('.json') && !file.includes('.sample.'))
).filter((file) => file.endsWith('.json'))
for (const file of voiceConfigFiles) {
const config: VoiceConfiguration = JSON.parse(