Skip to content

Commit 28ac296

Browse files
fix(specs): saveRule response type [skip-bc] (generated)
algolia/api-clients-automation#4170 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Clément Vannicatte <[email protected]>
1 parent 2506284 commit 28ac296

File tree

2 files changed

+1
-26
lines changed

2 files changed

+1
-26
lines changed

client/src/commonMain/kotlin/com/algolia/client/api/SearchClient.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1077,7 +1077,7 @@ public class SearchClient(
10771077
* @param forwardToReplicas Whether changes are applied to replica indices.
10781078
* @param requestOptions additional request configuration.
10791079
*/
1080-
public suspend fun saveRule(indexName: String, objectID: String, rule: Rule, forwardToReplicas: Boolean? = null, requestOptions: RequestOptions? = null): UpdatedRuleResponse {
1080+
public suspend fun saveRule(indexName: String, objectID: String, rule: Rule, forwardToReplicas: Boolean? = null, requestOptions: RequestOptions? = null): UpdatedAtResponse {
10811081
require(indexName.isNotBlank()) { "Parameter `indexName` is required when calling `saveRule`." }
10821082
require(objectID.isNotBlank()) { "Parameter `objectID` is required when calling `saveRule`." }
10831083
val requestConfig = RequestConfig(

client/src/commonMain/kotlin/com/algolia/client/model/search/UpdatedRuleResponse.kt

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)