Skip to content

Commit ff1b483

Browse files
committed
Fixes chart interface panic.
1 parent 785c978 commit ff1b483

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

chart/client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ func (i *Iter) Bar() *finance.ChartBar {
5353

5454
// Meta returns the chart metadata
5555
// related to a chart response.
56-
func (i *Iter) Meta() *finance.ChartMeta {
57-
return i.Iter.Meta().(*finance.ChartMeta)
56+
func (i *Iter) Meta() finance.ChartMeta {
57+
return i.Iter.Meta().(finance.ChartMeta)
5858
}
5959

6060
// Get returns a historical chart.

0 commit comments

Comments
 (0)