Fix no update condition
This commit is contained in:
parent
94b8dfb6b9
commit
de1b7e15b2
|
@ -201,7 +201,7 @@ func UpdateScryfallData(db *sql.DB) {
|
|||
needsUpdate, err := checkScryfallUpdates(db, bulkData)
|
||||
logic.Check(err)
|
||||
|
||||
if needsUpdate {
|
||||
if !needsUpdate {
|
||||
scryfallLog("No update required.")
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue