Merge pull request #16 from nikolabjelo/develop
Setting default value for history
This commit is contained in:
1 file changed
+1
@@ -17,6 +17,7 @@ const resolve = (parent, { fbSlug, tradingSystem }) => {
|
||||
tradingSystem = defaultTradingSystem;
|
||||
}
|
||||
tradingSystem.fbSlug = fbSlug;
|
||||
tradingSystem.history = [];
|
||||
const newTradingSystem = new TradingSystem(tradingSystem);
|
||||
|
||||
return new Promise((res, rej) => {
|
||||
|
||||
Reference in new issue
Block a user