Fix bug causing outdated PIS data to be marked as valid

This commit is contained in:
Fred Boniface 2025-01-18 00:27:36 +00:00
parent f85a3da50e
commit c6328acb1c

View File

@ -56,7 +56,7 @@ func Check() {
}
if oldMetadata != nil {
if oldMetadata.LastVersion != apiResp.Name {
if oldMetadata.LastVersion == apiResp.Name {
log.Info("PIS Data is up to date")
return
}