fix(StandaloneRouting): Promise rejection - added return (#791)

This commit is contained in:
Ramesh R authored and Erik Ziegler committed 2019-08-21 16:23:14 +02:00
1 parent 2cf355856b
commit d09fb4e71c
1 file changed
+1 -1
@@ -26,7 +26,7 @@ class StandaloneRouting extends Component {
const url = query.url;
if (!url) {
reject(new Error("No URL was specified. Use ?url=$yourURL"));
return reject(new Error("No URL was specified. Use ?url=$yourURL"));
}
// Define a request to the server to retrieve the study data