From 68957f5dc8603cbaf4155e53ed575a7aa5f95559 Mon Sep 17 00:00:00 2001 From: emizzle Date: Tue, 28 Aug 2018 11:59:58 +1000 Subject: [PATCH] change registerAPICall to hang off embark --- lib/modules/contracts_manager/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/modules/contracts_manager/index.js b/lib/modules/contracts_manager/index.js index a3dde9ad9..6ad3968bc 100644 --- a/lib/modules/contracts_manager/index.js +++ b/lib/modules/contracts_manager/index.js @@ -167,7 +167,7 @@ class ContractsManager { } ); - plugin.registerAPICall( + embark.registerAPICall( 'post', '/embark-api/contract/deploy', (req, res) => {