Skip to content

Commit

Permalink
fix: correct types for float params
Browse files Browse the repository at this point in the history
  • Loading branch information
frederickfogerty committed Mar 1, 2021
1 parent 1f946f8 commit ccb97f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/gatsby-source-url/graphqlTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const ImgixUrlParamsInputType = new GraphQLInputObjectType({

// TODO: Clean up this mess.
const type = expectsTypes.every(
(type) => type === 'integer' || type === 'unit_scalar',
(type) => type === 'integer',
)
? GraphQLInt
: expectsTypes.every(
Expand Down

0 comments on commit ccb97f4

Please sign in to comment.