Skip to content

Commit

Permalink
Fix logic error in GetClosedSchool function
Browse files Browse the repository at this point in the history
  • Loading branch information
a3510377 committed Oct 30, 2024
1 parent c883aa4 commit 5ac1cb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func GetClosedSchool() (*WorkSchoolCloseMap, error) {
if v == "" {
continue
}
if _, ok := noClassMap[v]; ok {
if _, ok := noClassMap[v]; !ok {
return
}

Expand Down

0 comments on commit 5ac1cb3

Please sign in to comment.