mirror of
https://github.com/theonedev/onedev.git
synced 2025-12-08 18:26:30 +00:00
chore: Pass subscription info upon update check
This commit is contained in:
parent
bf8f85870f
commit
5593ce94c3
@ -484,7 +484,8 @@ public abstract class LayoutPage extends BasePage {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
|
||||
var checkUpdateUrl = "https://onedev.io/check-update/" + commitHash;
|
||||
var checkUpdateUrl = "https://onedev.io/check-update/" + commitHash + "-"
|
||||
+ (WicketUtils.isSubscriptionActive()? "1": "0");
|
||||
sidebar.add(new AjaxLink<Void>("checkUpdate") {
|
||||
|
||||
@Override
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user