Skip to content

Commit

Permalink
fmt.Sprint instead of typecast to graphql.ID
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffwillette committed Apr 16, 2018
1 parent 04a074e commit ab169fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resolvers.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,6 @@ func boolP(b bool) *bool {
}

func gqlIDP(id uint) *graphql.ID {
r := graphql.ID(id)
r := graphql.ID(fmt.Sprint(id))
return &r
}

0 comments on commit ab169fb

Please sign in to comment.