Skip to content

Commit

Permalink
fix(runs): get runs order param serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
aallam committed Jun 17, 2024
1 parent 73f57dd commit 6d54fe8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ internal class RunsApi(val requester: HttpRequester) : Runs {
it.get {
url(path = "${ApiPath.Threads}/${threadId.id}/runs") {
limit?.let { parameter("limit", it) }
order?.let { parameter("order", it) }
order?.let { parameter("order", it.order) }
after?.let { parameter("after", it.id) }
before?.let { parameter("before", it.id) }
}
Expand Down

0 comments on commit 6d54fe8

Please sign in to comment.