mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-02-10 14:16:47 +00:00
concat deployed fiddle contracts with existing contracts
This commit is contained in:
parent
e6440a758d
commit
b10f2927fb
@ -167,7 +167,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…
x
Reference in New Issue
Block a user