Update dsteem.js

This commit is contained in:
uğur erdal 2019-06-20 20:21:07 +03:00 committed by GitHub
parent df2e0d5670
commit 78f0587237

View File

@ -353,8 +353,6 @@ export const getPost = async (author, permlink, currentUserName = null) => {
try {
const post = await client.database.call('get_content', [author, permlink]);
const ugur = await getState(`/${post.category}/@${post.author}/${post.permlink}`);
console.log(ugur);
return post ? await parsePost(post, currentUserName) : null;
} catch (error) {
return error;