Update README.md

wrong parameter name for listing payments
This commit is contained in:
Rickard Lindroth 2018-12-10 14:18:00 +01:00 committed by GitHub
parent 36f64e9a3b
commit d5a45e7e9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -133,7 +133,7 @@ filter.AddTextField("sort_order").Is = "desc"
//And time fields //And time fields
filter.AddTimeField("start_time").Is = time.Now().Add(-time.Hour * 24 * 30) filter.AddTimeField("start_time").Is = time.Now().Add(-time.Hour * 24 * 30)
filter.AddTimeField("stop_time").Is = time.Now() filter.AddTimeField("end_time").Is = time.Now()
payments, err := c.GetPaymentsWithFilter(filter) payments, err := c.GetPaymentsWithFilter(filter)
``` ```