fix log message

This commit is contained in:
hemirt 2019-02-28 19:26:32 +01:00
parent aef5f6bfd7
commit ec6b26cd23

View file

@ -71,9 +71,7 @@ void TwitchApi::findUserName(const QString userid,
auto name = root.value("name"); auto name = root.value("name");
if (!name.isString()) if (!name.isString())
{ {
log("API Error: while getting user id, first user object `_id` key " log("API Error: while getting user name, `name` is not a string");
"is not a "
"string");
successCallback(""); successCallback("");
return Failure; return Failure;
} }