Remove wrong std::string token definition

This commit is contained in:
Jan Kaluza 2016-01-24 12:07:48 +01:00
parent 6fc502c3c9
commit 37ee8ce980

View file

@ -124,7 +124,6 @@ std::string SlackUserRegistration::handleOAuth2Code(const std::string &code, con
return "Received state code '" + state + "' not found in state codes list.";
}
std::string token;
std::string error = oauth2->requestToken(code, token);
if (!error.empty()) {
return error;