chore: Pass subscription info upon update check

This commit is contained in:
Robin Shen 2025-02-07 22:52:58 +08:00
parent bf8f85870f
commit 5593ce94c3

View File

@ -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