Fix order of after and before in client library

This commit is contained in:
Peter Stuifzand 2018-05-12 14:49:27 +02:00
parent 6d57b4e58d
commit b9ab3e0b4c

View File

@ -76,7 +76,7 @@ func (c *Client) ChannelsGetList() []microsub.Channel {
return channels.Channels
}
func (c *Client) TimelineGet(after, before, channel string) microsub.Timeline {
func (c *Client) TimelineGet(before, after, channel string) microsub.Timeline {
args := make(map[string]string)
args["after"] = after
args["before"] = before