Skip to content
Snippets Groups Projects
Commit f393d5b2 authored by Jason Salyers's avatar Jason Salyers
Browse files

[JES] Any routes with 'my' in them and a null observer break the condenser, so...

[JES] Any routes with 'my' in them and a null observer break the condenser, so if that situation is detected just strip out the tag before calling hivemind so results are still returned and posts are visible to users who are not logged in
parent 23fd0a0b
No related branches found
No related tags found
2 merge requests!120Develop,!117Jsalyers null observer fix
......@@ -14,6 +14,8 @@ export async function callBridge(method, params) {
params && JSON.stringify(params).substring(0, 200)
);
// [JES] Hivemind throws an exception if you call for my/[trending/payouts/new/etc] with a null observer
// so just delete the 'my' tag if there is no observer specified
if (
method === 'get_ranked_posts' &&
params &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment