|
|
@ -23,6 +23,9 @@ export async function checkAppMetadata(apps: App[]) { |
|
|
for (let [key, errors] of Object.entries(metadata.automationErrors)) { |
|
|
for (let [key, errors] of Object.entries(metadata.automationErrors)) { |
|
|
const updated = [] |
|
|
const updated = [] |
|
|
for (let error of errors) { |
|
|
for (let error of errors) { |
|
|
|
|
|
if (!error) { |
|
|
|
|
|
continue |
|
|
|
|
|
} |
|
|
const startDate = error.split(dbUtils.SEPARATOR)[2] |
|
|
const startDate = error.split(dbUtils.SEPARATOR)[2] |
|
|
if (startDate > maxStartDate) { |
|
|
if (startDate > maxStartDate) { |
|
|
updated.push(error) |
|
|
updated.push(error) |
|
|
|