Skip to content

Commit

Permalink
fix user-id overwriting token
Browse files Browse the repository at this point in the history
  • Loading branch information
svenpaulsen committed Apr 25, 2023
1 parent 3a76376 commit 118d781
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ int main(int argc, const char *argv[])
OPT_GROUP("Authorization"),
OPT_STRING('t', "room-token", &room_token, "room token to use for authorization", NULL, 0, 0),
OPT_STRING('k', "access-key", &access_key, "access key to use for local token generation", NULL, 0, 0),
OPT_STRING('u', "user-id", &room_token, "identifier to use for local token generation", NULL, 0, 0),
OPT_STRING('u', "user-id", &user_id, "identifier to use for local token generation", NULL, 0, 0),
OPT_GROUP("Audio Processing"),
OPT_BOOLEAN('\0', "voice-activity-detection", &opt_apm_use_voice_activity_detection, "enable or disable speech detection algorithm", NULL, 0, 0),
OPT_BOOLEAN('\0', "volume-gate", &opt_apm_use_volume_gate, "enable or disable input volume gate", NULL, 0, 0),
Expand Down

0 comments on commit 118d781

Please sign in to comment.