mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-10-01 01:05:53 -04:00
Appease the linter
This commit is contained in:
parent
38ea8d30db
commit
aac94bc757
@ -178,7 +178,7 @@ export async function doFederatedApiCall(method: string, serverName: string, end
|
||||
});
|
||||
}
|
||||
|
||||
export async function doClientApiCall(method: string, endpoint: string, query?: object, body?: object | Buffer, contentType: string = "application/octet-stream"): Promise<any> {
|
||||
export async function doClientApiCall(method: string, endpoint: string, query?: object, body?: object | Buffer, contentType = "application/octet-stream"): Promise<any> {
|
||||
let url = config.homeserver.clientServerUrl;
|
||||
if (url.endsWith("/")) url = url.substring(0, url.length - 1);
|
||||
LogService.info("matrix", "Doing client API call: " + url + endpoint);
|
||||
|
@ -38,7 +38,7 @@
|
||||
"no-empty": false,
|
||||
"no-eval": true,
|
||||
"no-inferrable-types": true,
|
||||
"no-shadowed-variable": true,
|
||||
"no-shadowed-variable": false,
|
||||
"no-string-literal": false,
|
||||
"no-switch-case-fall-through": true,
|
||||
"no-trailing-whitespace": true,
|
||||
|
Loading…
Reference in New Issue
Block a user