mirror of
https://github.com/fosrl/newt.git
synced 2026-03-01 00:06:42 +00:00
Fix nil issues
This commit is contained in:
@@ -48,9 +48,6 @@ func (c *Client) loadConfig() error {
|
||||
if c.config.NewtID == "" {
|
||||
c.config.NewtID = config.NewtID
|
||||
}
|
||||
if c.config.Token == "" {
|
||||
c.config.Token = config.Token
|
||||
}
|
||||
if c.config.Secret == "" {
|
||||
c.config.Secret = config.Secret
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user