Permalink
Browse files

convert all keys to strings on write

  • Loading branch information...
karissa committed Jul 30, 2015
1 parent 2115c99 commit a0937dc5db39976dfcacb589ded0bd2055b1b1b7
Showing with 1 addition and 0 deletions.
  1. +1 −0 index.js
View
@@ -556,6 +556,7 @@ Dat.prototype._commit = function (links, type, operations, message, cb) {
for (var i = 0; i < operations.length; i++) {
var op = operations[i]
op.key = op.key.toString()
var val = messages.Operation.encode(op)
if (op.content === FILE) files++

0 comments on commit a0937dc

Please sign in to comment.