diff --git a/app/models/packages.py b/app/models/packages.py index eee5b38c..536b6f5c 100644 --- a/app/models/packages.py +++ b/app/models/packages.py @@ -1230,10 +1230,10 @@ class PackageDailyStats(db.Model): field_reason = None if reason == "new": field_reason = "reason_new" - elif reason == "dep": + elif reason == "dependency": field_reason = "reason_dependency" elif reason == "update": - field_reason = "./reason_update" + field_reason = "reason_update" if field_reason: to_update[field_reason] = getattr(PackageDailyStats, field_reason) + 1