graph2: Remove CharactersFilter logged property.
the build failed

This commit is contained in:
2018-10-06 10:53:15 +02:00
parent 0e9536b0a8
commit 8a07c2ffdb
2 changed files with 0 additions and 8 deletions
-3
View File
@@ -38,9 +38,6 @@ input CharactersFilter {
# Filter by text search matching against the character's description # Filter by text search matching against the character's description
search: String search: String
# Filter by whether they've been part of a log.
logged: Boolean
} }
# Input for adding characters # Input for adding characters
-5
View File
@@ -12,7 +12,6 @@ type Filter struct {
Names []string `json:"names"` Names []string `json:"names"`
Author *string `json:"author"` Author *string `json:"author"`
Search *string `json:"search"` Search *string `json:"search"`
Logged *bool `json:"logged"`
} }
// List lists all characters // List lists all characters
@@ -44,10 +43,6 @@ func List(filter *Filter) ([]models.Character, error) {
} }
} }
if filter.Logged != nil {
query["logged"] = *filter.Logged
}
if filter.Author != nil { if filter.Author != nil {
query["author"] = *filter.Author query["author"] = *filter.Author
} }