diff --git a/src/list/OrbitList.js b/src/list/OrbitList.js index 2483229..cd705cf 100644 --- a/src/list/OrbitList.js +++ b/src/list/OrbitList.js @@ -9,7 +9,6 @@ const OrbitNode = require('./OrbitNode'); const MaxBatchSize = 10; // How many items per sequence. Saves a snapshot to ipfs in batches of this many items. const MaxHistory = 256; // How many items to fetch in the chain per join -// class IPFSLWWSet extends LWWSet { class OrbitList { constructor(ipfs, id, seq, ver, items) { this.id = id; diff --git a/src/post/Post.js b/src/post/Post.js index 565a277..9030ed6 100644 --- a/src/post/Post.js +++ b/src/post/Post.js @@ -40,7 +40,7 @@ class Posts { if(post.type) delete post.type; const res = await(ipfs.object.put(new Buffer(JSON.stringify({ Data: JSON.stringify(post) })), "json")); resolve({ Post: post, Hash: res.Hash }); - }) + }); } static get Types() {