Commit 27af5d17 authored by Jason Salyers's avatar Jason Salyers
Browse files

Merge branch 'jsalyers-change-query-param-processing' into 'develop'

[JES] Slight change in handling the query params before calling hived. Some...

See merge request !54
parents 19da0f2f 10de0646
......@@ -50,7 +50,13 @@ export async function getStateAsync(url) {
if (path.includes('transfers')) {
fetch_transfers = true;
//just convert path to be the username, hivemind won't accept the request if transfers is in the path
path = path.split('/')[1];
let tokens = path.split('/');
for (var token of tokens) {
if (token.contains('@')) {
path = token;
let raw = await api.getStateAsync(path);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment