config actions and eos version marketplace

This commit is contained in:
Drew Ansbacher
2021-10-22 13:34:01 -06:00
committed by Aiden McClelland
parent 54a65e465a
commit bb72bdb9d1
4 changed files with 16 additions and 12 deletions

View File

@@ -115,7 +115,9 @@ export class StartupAlertsService {
// ** check **
private async osUpdateCheck (): Promise<RR.GetMarketplaceEOSRes | undefined> {
const res = await this.api.getEos({ })
const res = await this.api.getEos({
'eos-version': this.config.version,
})
if (this.emver.compare(this.config.version, res.version) === -1) {
return res