Add missing placeholder description to twitch (#130013)

pull/129963/head^2
epenet 2024-11-07 10:32:23 +01:00 committed by GitHub
parent cb97f2f13c
commit bbefa971d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -78,7 +78,10 @@ class OAuth2FlowHandler(
reauth_entry = self._get_reauth_entry()
self._abort_if_unique_id_mismatch(
reason="wrong_account",
description_placeholders={"title": reauth_entry.title},
description_placeholders={
"title": reauth_entry.title,
"username": str(reauth_entry.unique_id),
},
)
new_channels = reauth_entry.options[CONF_CHANNELS]