@@ -123,7 +123,7 @@ export default class BigchainDBGraphQLSchema {
123123 asset_id : { type : GraphQLString } ,
124124 operation : { type : GraphQLString }
125125 } ,
126- resolve ( root , { asset_id, operation } ) {
126+ resolve ( root , { asset_id, operation } ) { // eslint-disable-line camelcase
127127 return conn . listTransactions ( asset_id , operation )
128128 }
129129 } ,
@@ -133,7 +133,7 @@ export default class BigchainDBGraphQLSchema {
133133 public_key : { type : GraphQLString } ,
134134 spent : { type : GraphQLBoolean }
135135 } ,
136- resolve ( root , { public_key, spent } ) {
136+ resolve ( root , { public_key, spent } ) { // eslint-disable-line camelcase
137137 return conn . listOutputs ( public_key , spent )
138138 }
139139 } ,
@@ -152,7 +152,7 @@ export default class BigchainDBGraphQLSchema {
152152 transaction_id : { type : GraphQLString } ,
153153 status : { type : GraphQLString } ,
154154 } ,
155- resolve ( root , { transaction_id, status } ) {
155+ resolve ( root , { transaction_id, status } ) { // eslint-disable-line camelcase
156156 return conn . listBlocks ( transaction_id , status )
157157 }
158158 } ,
@@ -161,7 +161,7 @@ export default class BigchainDBGraphQLSchema {
161161 args : {
162162 block_id : { type : GraphQLString } ,
163163 } ,
164- resolve ( root , { block_id } ) {
164+ resolve ( root , { block_id } ) { // eslint-disable-line camelcase
165165 return conn . listVotes ( block_id )
166166 }
167167 } ,
@@ -188,7 +188,9 @@ export default class BigchainDBGraphQLSchema {
188188 asset : { type : GraphQLString } ,
189189 metadata : { type : GraphQLString }
190190 } ,
191- resolve ( root , { publicKey, privateKey, asset, metadata } ) {
191+ resolve ( root , {
192+ publicKey, privateKey, asset, metadata
193+ } ) {
192194 return conn . createTransaction (
193195 publicKey ,
194196 privateKey ,
@@ -211,8 +213,8 @@ export default class BigchainDBGraphQLSchema {
211213 fromPublicKey,
212214 fromPrivateKey,
213215 toPublicKey,
214- metadata }
215- ) {
216+ metadata
217+ } ) {
216218 return conn . transferTransaction (
217219 JSON . parse ( decodeURIComponent ( tx ) ) ,
218220 fromPublicKey ,
0 commit comments