Fixed some spelling mistakes across files (#2367)

Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
Paweł
2021-01-17 20:19:10 +01:00
committed by GitHub
parent cfcac99ae6
commit e48937e0aa
5 changed files with 9 additions and 8 deletions
+5 -4
View File
@@ -175,9 +175,10 @@ void TwitchAccount::ignoreByID(
.authorizeTwitchV5(this->getOAuthClient(), this->getOAuthToken())
.onError([=](NetworkResult result) {
onFinished(IgnoreResult_Failed,
"An unknown error occured while trying to ignore user " +
targetName + " (" +
QString::number(result.status()) + ")");
QString("An unknown error occurred while trying to "
"ignore user %1 (%2)")
.arg(targetName)
.arg(result.status()));
})
.onSuccess([=](auto result) -> Outcome {
auto document = result.parseRapidJson();
@@ -253,7 +254,7 @@ void TwitchAccount::unignoreByID(
.onError([=](NetworkResult result) {
onFinished(
UnignoreResult_Failed,
"An unknown error occured while trying to unignore user " +
"An unknown error occurred while trying to unignore user " +
targetName + " (" + QString::number(result.status()) + ")");
})
.onSuccess([=](auto result) -> Outcome {