diff options
Diffstat (limited to 'api')
-rw-r--r-- | api/user.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/api/user.go b/api/user.go index 9fd9479..c1d9d6c 100644 --- a/api/user.go +++ b/api/user.go | |||
@@ -81,6 +81,15 @@ func (q SignupQuery) Run() (interface{}, *Error) { | |||
81 | } | 81 | } |
82 | } | 82 | } |
83 | 83 | ||
84 | configMap := make(map[string]string) | ||
85 | configMap["key"] = "" | ||
86 | configMap["secret"] = "" | ||
87 | |||
88 | _, err = db.SetUserMarketConfig(newUser.Id, "poloniex", configMap) | ||
89 | if err != nil { | ||
90 | return nil, NewInternalError(err) | ||
91 | } | ||
92 | |||
84 | return SignResult{token}, nil | 93 | return SignResult{token}, nil |
85 | } | 94 | } |
86 | 95 | ||