Skip to content

Commit bc325fe

Browse files
removed unnecessary convert to string
1 parent 096a06c commit bc325fe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/kotlin/com/ecwid/apiclient/v3/dto/customergroup/request/CustomerGroupsSearchRequest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ data class CustomerGroupsSearchRequest(
2525
put("offset", request.offset.toString())
2626
put("limit", request.limit.toString())
2727
if (!request.keyword.isNullOrBlank()) {
28-
put("keyword", request.keyword.toString())
28+
put("keyword", request.keyword)
2929
}
3030
if (!request.customerGroupIds.isNullOrEmpty()) {
3131
put("customerGroupIds", request.customerGroupIds.joinToString(","))

0 commit comments

Comments
 (0)