Fix classify_event_size function
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
This commit is contained in:
parent
49352e8d03
commit
27a4eb55f5
1 changed files with 1 additions and 1 deletions
2
scl.py
2
scl.py
|
@ -82,7 +82,7 @@ def classify_event_size(num_people: int) -> dict[str, str, bool]:
|
|||
"outage_color": "#F97316",
|
||||
"is_postable": False,
|
||||
}
|
||||
elif event["numPeople"] < 1000:
|
||||
elif num_people < 1000:
|
||||
return {
|
||||
"size": "Medium",
|
||||
"outage_color": "#EF4444",
|
||||
|
|
Loading…
Reference in a new issue