Commit a54248ff authored by Jason Salyers's avatar Jason Salyers
Browse files

[JES] One more time...includes instead of contains. Javascript vs Java.

parent 125dc84e
......@@ -52,7 +52,7 @@ export async function getStateAsync(url) {
//just convert path to be the username, hivemind won't accept the request if transfers is in the path
let tokens = url.split('/');
for (var token of tokens) {
if (token.contains('@')) {
if (token.includes('@')) {
path = token;
break;
}
......
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