Fix copypasta fail.

develop
Icedream 2016-07-09 21:46:45 +02:00
parent daa2878117
commit 1d2adea2d6
Signed by: icedream
GPG Key ID: 1573F6D8EFE4D0CF
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ func (r CompetitionFixturesRequest) TimeFrameStart(date time.Time) CompetitionFi
// TimeFrameEnd modifies the request to specify the end of the time frame filter for the returned results. // TimeFrameEnd modifies the request to specify the end of the time frame filter for the returned results.
// //
// Only the year, month and day of the Time value will be used for the request. // Only the year, month and day of the Time value will be used for the request.
func (r CompetitionFixturesRequest) TimeFrameStart(date time.Time) CompetitionFixturesRequest { func (r CompetitionFixturesRequest) TimeFrameEnd(date time.Time) CompetitionFixturesRequest {
r.urlValues.Set("timeFrameEnd", date.Format(timeFrameLayout)) r.urlValues.Set("timeFrameEnd", date.Format(timeFrameLayout))
return r return r
} }

View File

@ -24,7 +24,7 @@ func (r FixturesRequest) TimeFrameStart(date time.Time) FixturesRequest {
// TimeFrameEnd modifies the request to specify the end of the time frame filter for the returned results. // TimeFrameEnd modifies the request to specify the end of the time frame filter for the returned results.
// //
// Only the year, month and day of the Time value will be used for the request. // Only the year, month and day of the Time value will be used for the request.
func (r FixturesRequest) TimeFrameStart(date time.Time) FixturesRequest { func (r FixturesRequest) TimeFrameEnd(date time.Time) FixturesRequest {
r.urlValues.Set("timeFrameEnd", date.Format(timeFrameLayout)) r.urlValues.Set("timeFrameEnd", date.Format(timeFrameLayout))
return r return r
} }