summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Newson <rnewson@apache.org>2019-02-16 18:03:20 +0000
committerRobert Newson <rnewson@apache.org>2019-02-16 18:03:20 +0000
commit1ba7e98272f05b61849ab977e66c88fa331acbed (patch)
tree29c3ab9b931a3223544efb19f5a954b08710ae75
parent228ae8adc97d7924b64b5723d0e07e0248e04c73 (diff)
downloadcouchdb-1ba7e98272f05b61849ab977e66c88fa331acbed.tar.gz
Always send a binary when calling clouseau_rpc:delete
BugzID: 116712
-rw-r--r--src/clouseau_rpc.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clouseau_rpc.erl b/src/clouseau_rpc.erl
index 38bf651d4..aed03e37f 100644
--- a/src/clouseau_rpc.erl
+++ b/src/clouseau_rpc.erl
@@ -71,7 +71,7 @@ group2(Ref, Args) ->
rpc(Ref, {group2, Args}).
delete(Ref, Id) ->
- rpc(Ref, {delete, Id}).
+ rpc(Ref, {delete, couch_util:to_binary(Id)}).
update(Ref, Id, Fields) ->
rpc(Ref, {update, Id, Fields}).