Browse Source

Removed default limit for stories query

1.0
Gisle Aune 6 years ago
parent
commit
2f98be5747
  1. 2
      graphql/resolver/queries/stories.go

2
graphql/resolver/queries/stories.go

@ -83,7 +83,7 @@ func (r *QueryResolver) Stories(ctx context.Context, args *StoriesArg) ([]*types
open := filter.Open open := filter.Open
limit := 30
limit := 0
if filter != nil && filter.Limit != nil { if filter != nil && filter.Limit != nil {
limit = int(*filter.Limit) limit = int(*filter.Limit)
} }

Loading…
Cancel
Save