Update dsteem.js

This commit is contained in:
uğur erdal 2019-06-20 20:21:07 +03:00 committed by GitHub
parent 3333a8044c
commit 7e4ad24394
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -353,8 +353,6 @@ export const getPost = async (author, permlink, currentUserName = null) => {
try { try {
const post = await client.database.call('get_content', [author, permlink]); 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; return post ? await parsePost(post, currentUserName) : null;
} catch (error) { } catch (error) {
return error; return error;