We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b16589e commit 181eacaCopy full SHA for 181eaca
1 file changed
lib/weaviate/schema.rb
@@ -100,10 +100,11 @@ def add_tenants(
100
class_name:,
101
tenants:
102
)
103
- client.connection.post("#{PATH}/#{class_name}/tenants") do |req|
+ response = client.connection.post("#{PATH}/#{class_name}/tenants") do |req|
104
tenants_str = tenants.map { |t| %({"name": "#{t}"}) }.join(", ")
105
req.body = "[#{tenants_str}]"
106
end
107
+ response.body
108
109
110
# List tenants of a class.
0 commit comments