mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-22 21:01:31 +03:00
Update dsteem.js
This commit is contained in:
parent
3333a8044c
commit
7e4ad24394
@ -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