Use default resolution for scope selection URL When rendering the scope selection URL, adapt to the new config API by passing null to select the default canonical URL for rendering the link. Change-Id: I21fea8a24fc945015caef7bde52d42c9b319df15
diff --git a/github-plugin/src/main/resources/static/repositories.html b/github-plugin/src/main/resources/static/repositories.html index fe8deb1..9db7e3f 100644 --- a/github-plugin/src/main/resources/static/repositories.html +++ b/github-plugin/src/main/resources/static/repositories.html
@@ -53,7 +53,7 @@ </select> <input type="text" id="filter" class="filter" name="filter" placeholder="Filter by name" /> </li> - <li class="info"><p>Not seeing your organizations or repositories? <a href="$config.scopeSelectionUrl">Login with a different GitHub Scope</a> and try again.</p></li> + <li class="info"><p>Not seeing your organizations or repositories? <a href="$config.getScopeSelectionUrl(null)">Login with a different GitHub Scope</a> and try again.</p></li> </ul> <div class="loading"> <p>Loading list of GitHub repositories ...</p>