diff --git a/lib/wallet.js b/lib/wallet.js index d54a4f63..de24fca5 100644 --- a/lib/wallet.js +++ b/lib/wallet.js @@ -17,6 +17,6 @@ export function generateTypeDefName (walletField) { export function walletTypeToResolveType (walletType) { // wallet type is in UPPER_CASE but __resolveType requires PascalCase - const PascalCase = walletType.split('_').map(s => s[0].toUpperCase() + s.slice(1)).join() + const PascalCase = walletType.split('_').map(s => s[0].toUpperCase() + s.slice(1).toLowerCase()).join('') return `Wallet${PascalCase}` }