Skip to content

Commit

Permalink
UI: Fix AuthListener error HTTP response body
Browse files Browse the repository at this point in the history
  • Loading branch information
derrod committed Sep 16, 2021
1 parent 37ab69a commit 8c9bb3a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion UI/auth-listener.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ void AuthListener::NewConnection()
}

if (code.isEmpty()) {
auto data = QTStr("YouTube.Auth.NoCode");
auto data = responseTemplate.arg(
QTStr("YouTube.Auth.NoCode"));
socket->write(QT_TO_UTF8(data));
emit fail();
} else {
Expand Down

0 comments on commit 8c9bb3a

Please sign in to comment.