From d4ab7795c3118dbfb07ca5d7386a171aabf9ccc8 Mon Sep 17 00:00:00 2001 From: ellnix <103502144+ellnix@users.noreply.github.com> Date: Sat, 7 Oct 2023 14:34:28 +0200 Subject: [PATCH] Remove unnecessary separator token setter aliases --- lib/meilisearch/index.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/meilisearch/index.rb b/lib/meilisearch/index.rb index f31109a8..35e51ddb 100644 --- a/lib/meilisearch/index.rb +++ b/lib/meilisearch/index.rb @@ -472,7 +472,6 @@ def update_separator_tokens(separator_tokens_attributes) attributes = Utils.transform_attributes(separator_tokens_attributes) http_put("/indexes/#{@uid}/settings/separator-tokens", attributes) end - alias separator_tokens= update_separator_tokens def reset_separator_tokens http_delete("/indexes/#{@uid}/settings/separator-tokens") @@ -488,7 +487,6 @@ def update_non_separator_tokens(non_separator_tokens_attributes) attributes = Utils.transform_attributes(non_separator_tokens_attributes) http_put("/indexes/#{@uid}/settings/non-separator-tokens", attributes) end - alias non_separator_tokens= update_non_separator_tokens def reset_non_separator_tokens http_delete("/indexes/#{@uid}/settings/non-separator-tokens")