Skip to content

Commit

Permalink
Removed obsolete t_runServer param from APIHandler::generateOAuth2URI
Browse files Browse the repository at this point in the history
  • Loading branch information
BluABK committed Aug 21, 2019
1 parent e251c79 commit ad7b3b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion libsane++/include/api_handler/api_handler.hpp
Expand Up @@ -57,7 +57,6 @@ namespace sane {
nlohmann::json generateOAuth2URI(const std::string &t_clientId = {}, const std::string &t_scope = {},
const std::string &t_redirectUri = OAUTH2_DEFAULT_REDIRECT_URI,
const std::string &t_state = {}, const std::string &t_loginHint = {},
bool t_runServer = true,
const std::string &t_oauth2Uri = OAUTH2_DEFAULT_AUTH_URI,
const std::string &t_responseType = OAUTH2_DEFAULT_RESPONSE_TYPE);

Expand Down
4 changes: 2 additions & 2 deletions libsane++/src/api_handler/api_handler.cpp
Expand Up @@ -139,8 +139,8 @@ namespace sane {
*/
nlohmann::json APIHandler::generateOAuth2URI(const std::string &t_clientId, const std::string &t_scope,
const std::string &t_redirectUri, const std::string &t_state,
const std::string &t_loginHint, bool t_runServer,
const std::string &t_oauth2Uri, const std::string &t_responseType) {
const std::string &t_loginHint, const std::string &t_oauth2Uri,
const std::string &t_responseType) {
// OAuth2
std::string uri;
std::string clientId = t_clientId;
Expand Down

0 comments on commit ad7b3b0

Please sign in to comment.