Remove meta serialization now that resource takes objects.

This commit is contained in:
Edward Lee 2009-09-16 19:15:55 -07:00
parent 1e9df514ed
commit dea85e923c

View File

@ -361,7 +361,7 @@ SyncEngine.prototype = {
meta.generateIV();
meta.addUnwrappedKey(pubkey, symkey);
let res = new Resource(meta.uri);
let resp = res.put(meta.serialize());
let resp = res.put(meta);
if (!resp.success) {
this._log.debug("Metarecord upload fail:" + resp);
resp.failureCode = ENGINE_METARECORD_UPLOAD_FAIL;