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