Skip to content

Commit

Permalink
Update getAllPolicies in TransportGetSMPoliciesAction.kt
Browse files Browse the repository at this point in the history
Signed-off-by: aggarwalShivani <[email protected]>
  • Loading branch information
aggarwalShivani authored Jan 17, 2024
1 parent 8725986 commit 2ac032a
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ class TransportGetSMPoliciesAction @Inject constructor(

private suspend fun getAllPolicies(searchParams: SearchParams, user: User?): Pair<List<SMPolicy>, Long> {
val searchRequest = getAllPoliciesRequest(searchParams, user)
val searchResponse: SearchResponse = try {
return try {
val searchResponse = client.suspendUntil { search(searchRequest, it) }
parseGetAllPoliciesResponse(searchResponse)
Expand Down

0 comments on commit 2ac032a

Please sign in to comment.