Hack around a scalar bug

See https://github.com/vector-im/riot-web/issues/10498
This commit is contained in:
Travis Ralston 2019-08-21 18:19:38 -06:00
parent c4c5ee8571
commit 41b56484c3

View File

@ -44,7 +44,11 @@ export class ScalarClient {
return {
scalarUrl: parsed.toString(),
headers: headers,
queryString: {},
queryString: {
// HACK: This is due to a Scalar bug
// https://github.com/vector-im/riot-web/issues/10498
v: SCALAR_API_VERSION,
},
};
}
}