Merge pull request #5185 from wled/copilot/add-repo-field-to-upgradedata
Add repo field to upgradeData in upgrade event reporting
This commit is contained in:
commit
c097cb1f27
@ -3385,7 +3385,8 @@ function reportUpgradeEvent(info, oldVersion) {
|
|||||||
bootloaderSHA256: infoData.bootloaderSHA256 || '', // Bootloader SHA256 hash
|
bootloaderSHA256: infoData.bootloaderSHA256 || '', // Bootloader SHA256 hash
|
||||||
brand: infoData.brand, // Device brand (always present)
|
brand: infoData.brand, // Device brand (always present)
|
||||||
product: infoData.product, // Product name (always present)
|
product: infoData.product, // Product name (always present)
|
||||||
flashSize: infoData.flash // Flash size (always present)
|
flashSize: infoData.flash, // Flash size (always present)
|
||||||
|
repo: infoData.repo // GitHub repository (always present)
|
||||||
};
|
};
|
||||||
|
|
||||||
// Add optional fields if available
|
// Add optional fields if available
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user