Skip to content

Commit

Permalink
fix: Use VRM email for MQTT login
Browse files Browse the repository at this point in the history
  • Loading branch information
mman committed Oct 31, 2024
1 parent 277f685 commit 4f37f93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/vrm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export class VRM {
if (res.status == 200 && response.success === true) {
this.server.secrets.vrmToken = token
this.server.secrets.vrmUserId = response.user.id
this.server.secrets.vrmUsername = response.user.name
this.server.secrets.vrmUsername = response.user.email
this.server.config.vrm.hasToken = true
await this.server.saveSecrets()
await this.server.saveConfig()
Expand Down

0 comments on commit 4f37f93

Please sign in to comment.