rpdata-as2storyimport: Fixed category vailidty check failing when it is valid, not when it isn't.
the build was successful
the build was successful
This commit is contained in:
@@ -81,7 +81,7 @@ func main() {
|
||||
}
|
||||
|
||||
category := models.StoryCategory(result.Category)
|
||||
if category.IsValid() {
|
||||
if !category.IsValid() {
|
||||
log.Println(result.Name, "does not have a valid category:", result.Category)
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user