Skip to content

Commit

Permalink
fix: use RFC 3339 for TwitchHelix#getClips query params
Browse files Browse the repository at this point in the history
  • Loading branch information
iProdigy authored and PhilippHeuer committed Sep 13, 2020
1 parent bdd5a05 commit 2bfadc7
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import com.netflix.hystrix.HystrixCommand;
import feign.*;

import java.util.Date;
import java.time.Instant;
import java.util.List;
import java.util.UUID;

Expand Down Expand Up @@ -289,8 +289,8 @@ HystrixCommand<ClipList> getClips(
@Param("after") String after,
@Param("before") String before,
@Param("first") Integer limit,
@Param("started_at") Date startedAt,
@Param("ended_at") Date endedAt
@Param("started_at") Instant startedAt,
@Param("ended_at") Instant endedAt
);

/**
Expand Down

0 comments on commit 2bfadc7

Please sign in to comment.