Fixes to personal.community

in #hivejs11 days ago (edited)

the api calls seem to have changed with some recent updates to the block chain...

hive.api.getDiscussionsByAuthorBeforeDate(hiveuser, 'blokzprofile', now, 1, (err, result) => {

was broken, and returning a very much wrong info, and not displaying the profiles at all.. not sure what changed, but the fix wasn't too bad,

hive.api.getContent(hiveuser, 'blokzprofile', function (err, result) {

seems to have done the trick...

and now https://personal.community is functioning again for browsing the platform... I'll be getting back to work soon on fixing updating profiles as well as new posts... and eventually making the forms prettier.