fix: use correct receiver name

update market to quotes
master
dp 4 years ago committed by GitHub
parent a50752c1a9
commit c7c0efbd7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      yahoo_quotes.go

@ -74,7 +74,7 @@ func (quotes *Quotes) Fetch() (self *Quotes) {
if err := recover(); err != nil { if err := recover(); err != nil {
quotes.errors = fmt.Sprintf("\n\n\n\nError fetching stock quotes...\n%s", err) quotes.errors = fmt.Sprintf("\n\n\n\nError fetching stock quotes...\n%s", err)
} else { } else {
market.errors = "" quotes.errors = ""
} }
}() }()

Loading…
Cancel
Save