diff --git a/src/providers/esteem/ePoint.js b/src/providers/esteem/ePoint.js index dd2469a20..a8ae96794 100644 --- a/src/providers/esteem/ePoint.js +++ b/src/providers/esteem/ePoint.js @@ -1,5 +1,6 @@ import { Alert } from 'react-native'; import ePointApi from '../../config/api'; +import { jsonStringify } from '../../utils/jsonUtils'; export const userActivity = (us, ty, bl = '', tx = '') => new Promise(resolve => { @@ -12,7 +13,7 @@ export const userActivity = (us, ty, bl = '', tx = '') => if (tx) { params.tx = tx; } - + Alert.alert('Error1', jsonStringify(params)); ePointApi .post('/usr-activity', params) .then(res => { diff --git a/src/providers/steem/dsteem.js b/src/providers/steem/dsteem.js index 0f6360d6e..42c2ee2f8 100644 --- a/src/providers/steem/dsteem.js +++ b/src/providers/steem/dsteem.js @@ -463,6 +463,7 @@ export const getPostWithComments = async (user, permlink) => { export const vote = (account, pin, author, permlink, weight) => _vote(account, pin, author, permlink, weight).then(resp => { + alert(resp.block_num); userActivity(account.username, 120, resp.block_num, resp.id); return resp; });