Skip to content

Commit

Permalink
Merge pull request #302 from artsy/has-metadata-fix
Browse files Browse the repository at this point in the history
@alloy=>Fixed has_metadata check
  • Loading branch information
alloy committed Jun 3, 2016
2 parents bd7e1e7 + b2252f8 commit c6f592c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions schema/artist/index.js
Expand Up @@ -84,8 +84,8 @@ const ArtistType = new GraphQLObjectType({
},
has_metadata: {
type: GraphQLBoolean,
resolve: ({ bio, blurb }) => {
return !!(bio || blurb);
resolve: ({ blurb, nationality, years, hometown, location }) => {
return !!(blurb || nationality || years || hometown || location);
},
},
hometown: {
Expand Down

0 comments on commit c6f592c

Please sign in to comment.