From 822bdea500f61f628f143ef74f565187bb9f400e Mon Sep 17 00:00:00 2001 From: raamb Date: Tue, 5 Feb 2019 13:43:42 +0530 Subject: [PATCH] Set the keep case option globally to prevent snake_case from getting converted to cameCase automatically --- app/service.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/service.js b/app/service.js index 63ce59c..70de0b8 100644 --- a/app/service.js +++ b/app/service.js @@ -5,6 +5,7 @@ const os = require("os") const Web3 = require("web3") const klaw = require("klaw-sync") const protobuf = require("protobufjs") +protobuf.parse.defaults.keepCase = true; const registryABI = require("singularitynet-platform-contracts/abi/Registry.json") const registryNetworks = require("singularitynet-platform-contracts/networks/Registry.json")