chore: refactor and npm command

This commit is contained in:
AP 2020-02-01 09:15:44 +01:00
parent e15f63bc31
commit b42d6aea68
2 changed files with 2 additions and 6 deletions

View File

@ -8,7 +8,8 @@
"build": "webpack --config webpack.production.js",
"build:dev": "webpack --config webpack.development.js",
"start": "node dist/server",
"dev": "nodemon dist/server"
"dev": "nodemon dist/server",
"deploy": "yarn build && eb deploy"
},
"repository": {
"type": "git",

View File

@ -8,11 +8,6 @@ const url = 'https://bitcoinfees.earn.com/api/v1/fees/recommended';
export const getBitcoinFees = {
type: BitcoinFeeType,
args: {
currency: {
type: GraphQLString,
},
},
resolve: async (root: any, params: any, context: any) => {
await requestLimiter(context.ip, 'bitcoinFee');