git ssb

15+

ansuz / dnssb



Commit 5166584127078cfd0d1f1b37acff5e540c24ddce

Ignore trailing dot in publish

cel committed on 11/26/2016, 11:04:10 PM
Parent: 74b692dae8fe724adf9d23eae0dbca6fdccc989e

Files changed

lib/publish.jschanged
lib/publish.jsView
@@ -34,8 +34,11 @@
3434 if (!branches.every(SsbRef.isMsgId)) {
3535 return void cb(new Error("invalid branches"));
3636 }
3737
38 + // our schema does not use the trailing dot in record names
39 + record.name = record.name.replace(/\.$/, '')
40 +
3841 require("ssb-client")(function (err, sbot) {
3942 if (err) { return void cb(err); }
4043
4144 var val = {

Built with git-ssb-web