Skip to content

Commit

Permalink
Set the Dialogflow project id as a secret (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
aqua-ix authored Jul 18, 2024
1 parent 381537e commit 12837a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/com/aqua_ix/youbimiku/DetectIntent.kt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class DetectIntent(

companion object {
private const val TAG = "DetectIntent"
const val PROJECT_ID = "youbimiku-oopulf"
const val PROJECT_ID = BuildConfig.DIALOGFLOW_PROJECT_ID
val SCOPE = listOf("https://www.googleapis.com/auth/cloud-platform")
}

Expand Down
1 change: 1 addition & 0 deletions secrets.defaults.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
DIALOGFLOW_PROJECT_ID=DIALOGFLOW_PROJECT_ID
TRANSLATE_END_POINT=TRANSLATE_END_POINT
IMOBILE_PID=IMOBILE_PID
IMOBILE_MID=IMOBILE_MID
Expand Down

0 comments on commit 12837a6

Please sign in to comment.