You've already forked matrix-js-sdk
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:
committed by
GitHub
parent
a388fde3e2
commit
dea3f52fe9
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user