From 7b9cae955805473d5dbf45678d9e7225de689ff1 Mon Sep 17 00:00:00 2001 From: Emma Lejeck Date: Sat, 19 Oct 2024 16:38:01 -0700 Subject: [PATCH] It's .slice not .only lmao --- app/controllers/typesense_keys_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/typesense_keys_controller.rb b/app/controllers/typesense_keys_controller.rb index 5838af0ec..cdaec30aa 100644 --- a/app/controllers/typesense_keys_controller.rb +++ b/app/controllers/typesense_keys_controller.rb @@ -11,7 +11,7 @@ def all users: json_for(User) }, nodes: Typesensual.client.configuration.nodes.map do |node| - node.only(:port, :host, :protocol) + node.slice(:port, :host, :protocol) end } end