Skip to content

Commit cb1a924

Browse files
committed
fix: pass request parameters through to operations call
1 parent fd6fdd7 commit cb1a924

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/com/ctrlhub/core/projects/operations/OperationsRouter.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class OperationsRouter(httpClient: HttpClient) : Router(httpClient) {
2121
suspend fun all(organisationId: String, requestParameters: RequestParameters = RequestParameters()): PaginatedList<Operation> {
2222
val endpoint = "/v3/orgs/$organisationId/projects/operations"
2323

24-
return fetchPaginatedJsonApiResources(endpoint, emptyMap(), Operation::class.java, User::class.java)
24+
return fetchPaginatedJsonApiResources(endpoint, requestParameters.toMap(), Operation::class.java, User::class.java)
2525
}
2626

2727
/**

0 commit comments

Comments
 (0)