Skip to content

Commit

Permalink
Match function to scalar name
Browse files Browse the repository at this point in the history
  • Loading branch information
rhyslbw committed Jul 3, 2020
1 parent bfc6a60 commit 0443fc4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions packages/api-cardano-db-hasura/src/lib/scalar_resolvers.ts
@@ -1,7 +1,7 @@
import {
DateTime,
Hash32HexString,
LoveLaces,
Lovelaces,
Percentage
} from './scalars'

Expand All @@ -10,7 +10,7 @@ const GraphQLBigInt = require('graphql-bigint')
export const scalarResolvers = {
Hash32HexString: Hash32HexString,
BigInt: GraphQLBigInt,
DateTime: DateTime,
Lovelaces: LoveLaces,
DateTime,
Lovelaces,
Percentage: Percentage
} as any
@@ -1,6 +1,6 @@
import { GraphQLScalarType, Kind } from 'graphql'

export const LoveLaces = new GraphQLScalarType({
export const Lovelaces = new GraphQLScalarType({
name: 'LoveLaces',
description: 'LoveLaces, the atomic unit of ADA',
serialize (value) {
Expand Down

0 comments on commit 0443fc4

Please sign in to comment.