mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-21 12:21:31 +03:00
Update dsteem.js
This commit is contained in:
parent
df2e0d5670
commit
78f0587237
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user