1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-23 17:02:25 +03:00

Another SonarQube happiness pass (#2347)

This commit is contained in:
Michael Telatynski
2022-05-05 04:34:21 +01:00
committed by GitHub
parent a388fde3e2
commit dea3f52fe9
9 changed files with 26 additions and 30 deletions

View File

@@ -152,7 +152,7 @@ export interface ICryptoCallbacks {
export function createClient(opts: ICreateClientOpts | string) {
if (typeof opts === "string") {
opts = {
"baseUrl": opts as string,
"baseUrl": opts,
};
}
opts.request = opts.request || requestInstance;