Commit cfb20b0dc56d60d1f00bdfb0937ba970bcf7b16c
change router normalisation to match standard msg format
mix irving committed on 8/10/2017, 9:58:40 AMParent: b1e166bd62bc7ba5a3aa02c55e004a0e4c1cafea
Files changed
router/sync/normalise.js | changed |
router/sync/normalise.js | ||
---|---|---|
@@ -10,9 +10,9 @@ | ||
10 | 10 … | |
11 | 11 … | if (isBlob(location)) return { blob: location } |
12 | 12 … | if (isChannel(location)) return { channel: location } |
13 | 13 … | if (isFeed(location)) return { feed: location } |
14 | - if (isMsg(location)) return { msg: location } | |
14 … | + if (isMsg(location)) return { key: location } | |
15 | 15 … | if (isPage(location)) return { page: location } |
16 | 16 … | } |
17 | 17 … | |
18 | 18 … | function isChannel (str) { |
Built with git-ssb-web