aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-07-06 22:14:31 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-07-06 22:14:31 +0530
commit5417321dcf8d789652028f8013d71f10d7b5a8fa (patch)
tree67dd0a5236323c80ff05ba85a5de504b10903bf8
parent6695fe107fd5392f7d5565e56b7f6f5d0aa4f0af (diff)
Bug Fix: added 'list_status' field to anime/manga field validators
-rw-r--r--errhandlers/anime_validators.go1
-rw-r--r--errhandlers/manga_validators.go1
2 files changed, 2 insertions, 0 deletions
diff --git a/errhandlers/anime_validators.go b/errhandlers/anime_validators.go
index b51afa6..a186a72 100644
--- a/errhandlers/anime_validators.go
+++ b/errhandlers/anime_validators.go
@@ -56,6 +56,7 @@ func IsValidField(field string) bool {
"status",
"genres",
"my_list_status",
+ "list_status",
"num_episodes",
"start_season",
"broadcast",
diff --git a/errhandlers/manga_validators.go b/errhandlers/manga_validators.go
index e54107d..7c70a45 100644
--- a/errhandlers/manga_validators.go
+++ b/errhandlers/manga_validators.go
@@ -39,6 +39,7 @@ func IsValidMangaField(field string) bool {
"status",
"genres",
"my_list_status",
+ "list_status",
"num_volumes",
"num_chapters",
"authors",