mirror of https://github.com/embarklabs/embark.git
concat deployed fiddle contracts with existing contracts
This commit is contained in:
parent
fec740ad6f
commit
bf46b91166
|
@ -169,7 +169,7 @@ class ContractsManager {
|
||||||
'post',
|
'post',
|
||||||
'/embark-api/contract/deploy',
|
'/embark-api/contract/deploy',
|
||||||
(req, res) => {
|
(req, res) => {
|
||||||
self.compiledContracts = req.body.compiledContract;
|
self.compiledContracts = Object.assign(self.compiledContracts, req.body.compiledContract);
|
||||||
self.build((err, _mgr) => {
|
self.build((err, _mgr) => {
|
||||||
const responseData = {errors: err, success: !err};
|
const responseData = {errors: err, success: !err};
|
||||||
this.logger.trace(`POST response /embark-api/contract/deploy:\n ${JSON.stringify(responseData)}`);
|
this.logger.trace(`POST response /embark-api/contract/deploy:\n ${JSON.stringify(responseData)}`);
|
||||||
|
|
Loading…
Reference in New Issue