Add repo field from info data to upgradeData
Co-authored-by: netmindz <442066+netmindz@users.noreply.github.com>
This commit is contained in:
@@ -3443,6 +3443,7 @@ function reportUpgradeEvent(info, oldVersion) {
|
||||
};
|
||||
|
||||
// Add optional fields if available
|
||||
if (infoData.repo !== undefined) upgradeData.repo = infoData.repo; // GitHub repository
|
||||
if (infoData.psramPresent !== undefined) upgradeData.psramPresent = infoData.psramPresent; // Whether device has PSRAM
|
||||
if (infoData.psramSize !== undefined) upgradeData.psramSize = infoData.psramSize; // Total PSRAM size in MB
|
||||
// Note: partitionSizes not currently available in /json/info endpoint
|
||||
|
||||
Reference in New Issue
Block a user