Skip to content

Commit 95fc215

Browse files
committed
feat(deleteby): change from client.readHosts to client.writeHosts
1 parent 8a8a3f2 commit 95fc215

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Index.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ import Foundation
635635
let body = [
636636
"params": query.build()
637637
]
638-
return client.performHTTPQuery(path: path, method: .POST, body: body, hostnames: client.readHosts, requestOptions: requestOptions, completionHandler: completionHandler)
638+
return client.performHTTPQuery(path: path, method: .POST, body: body, hostnames: client.writeHosts, requestOptions: requestOptions, completionHandler: completionHandler)
639639
}
640640

641641
@objc(deleteBy:completionHandler:)

0 commit comments

Comments
 (0)