aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--api/market_config.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/api/market_config.go b/api/market_config.go
index 155da1a..d5f05d9 100644
--- a/api/market_config.go
+++ b/api/market_config.go
@@ -105,6 +105,8 @@ func (q TestMarketCredentialsQuery) Run() (interface{}, *Error) {
105 return nil, NewInternalError(resultErr) 105 return nil, NewInternalError(resultErr)
106 } else if resultErr != nil { 106 } else if resultErr != nil {
107 return nil, NewInternalError(resultErr) 107 return nil, NewInternalError(resultErr)
108 } else if resultErr == nil {
109 newStatus = db.MarketConfigEnabled
108 } 110 }
109 111
110 if newStatus != config.Status { 112 if newStatus != config.Status {