Skip to content

Commit

Permalink
fix(gql): resolver panic
Browse files Browse the repository at this point in the history
Signed-off-by: Godefroy Ponsinet <godefroy.ponsinet@outlook.com>
  • Loading branch information
90dy committed Oct 22, 2018
1 parent ff89dae commit 9c15a0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/api/node/graphql/resolver.go
Expand Up @@ -299,7 +299,7 @@ func (r *queryResolver) ContactList(ctx context.Context, filter *entity.Contact,
if err != nil {
return nil, err
}
if count == *first {
if count == input.Paginate.First {
hasNextPage = true
break
}
Expand Down

0 comments on commit 9c15a0c

Please sign in to comment.