Skip to content

Commit e92512e

Browse files
authored
Update objects.rb to pass tenant to batch_delete as param
1 parent 48439a7 commit e92512e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/weaviate/objects.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,8 @@ def batch_delete(
162162
where:,
163163
consistency_level: nil,
164164
output: nil,
165-
dry_run: nil
165+
dry_run: nil,
166+
tenant: nil
166167
)
167168
path = "batch/#{PATH}"
168169

@@ -181,6 +182,7 @@ def batch_delete(
181182
}
182183
req.body["output"] = output unless output.nil?
183184
req.body["dryRun"] = dry_run unless dry_run.nil?
185+
req.params["tenant"] = tenant unless tenant.nil?
184186
end
185187

186188
response.body

0 commit comments

Comments
 (0)