Skip to content

Commit

Permalink
Fix incorrect number of arguments in YoutubeRestHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
devoxin committed Jul 12, 2024
1 parent 70b1ea5 commit 3ed908a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public void updateRefreshToken(@RequestBody YoutubeOauthConfig config) {
throw new ResponseStatusException(HttpStatus.BAD_REQUEST, "The YouTube source manager is not registered.");
}

source.useOauth2(config.getRefreshToken());
source.useOauth2(config.getRefreshToken(), config.getSkipInitialization());
log.debug("Updated YouTube OAuth2 refresh token to {}", config.getRefreshToken());
}
}

0 comments on commit 3ed908a

Please sign in to comment.