Fix error message
The code is trying to get a string from a json object, and if that fails it should log "is not a string", not "is not a timestamp".
This commit is contained in:
		| @@ -94,7 +94,7 @@ bool parseXTokenResponse(QByteArray & data, Katabasis::Token &output, QString na | ||||
|         return false; | ||||
|     } | ||||
|     if(!getString(obj.value("Token"), output.token)) { | ||||
|         qWarning() << "User Token is not a timestamp"; | ||||
|         qWarning() << "User Token is not a string"; | ||||
|         return false; | ||||
|     } | ||||
|     auto arrayVal = obj.value("DisplayClaims").toObject().value("xui"); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Stypox
					Stypox