|
|
@ -44,6 +44,10 @@ func complexity() (cr ComplexityRoot) { |
|
|
|
return childComplexity + findComplexity |
|
|
|
} |
|
|
|
cr.Query.Logs = func(childComplexity int, filter *logs.Filter) int { |
|
|
|
if filter != nil && filter.Open != nil && *filter.Open == true { |
|
|
|
return childComplexity + findComplexity |
|
|
|
} |
|
|
|
|
|
|
|
return childComplexity + listComplexity |
|
|
|
} |
|
|
|
cr.Query.Chapter = func(childComplexity int, id string) int { |
|
|
|