Skip to content
Snippets Groups Projects
Commit 9a5890c3 authored by Mahdi Yari's avatar Mahdi Yari
Browse files

remove . from premlink

parent 8bab35e4
No related branches found
No related tags found
No related merge requests found
......@@ -207,7 +207,7 @@ module.exports = hiveAPI => {
.replace(/[^a-zA-Z0-9]+/g, "")
.toLowerCase();
parentPermlink = parentPermlink.replace(/(-\d{8}t\d{9}z)/g, "");
return "re-" + parentAuthor + "-" + parentPermlink + "-" + timeStr;
return ("re-" + parentAuthor + "-" + parentPermlink + "-" + timeStr).replace(".", "");
},
amount: function(amount, asset) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment