Skip to content

Commit 5832433

Browse files
committed
fix: return correct type for `Client::season_events
1 parent e7eccb3 commit 5832433

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ impl RobotEvents {
195195
&self,
196196
season_id: i32,
197197
query: SeasonEventsQuery,
198-
) -> Result<PaginatedResponse<Season>, reqwest::Error> {
198+
) -> Result<PaginatedResponse<Event>, reqwest::Error> {
199199
Ok(self
200200
.request(format!("/seasons/{season_id}/events{query}"))
201201
.await?

0 commit comments

Comments
 (0)