Appease the linter
This commit is contained in:
parent
290e244a4e
commit
f37a70b7d8
|
@ -37,7 +37,7 @@ export class DimensionIntegrationsService {
|
|||
|
||||
@GET
|
||||
@Path("room/:roomId")
|
||||
public getIntegrationsInRoom(@QueryParam("scalar_token") scalarToken: string, @PathParam("roomId") roomId: string) :Promise<IntegrationsResponse>{
|
||||
public getIntegrationsInRoom(@QueryParam("scalar_token") scalarToken: string, @PathParam("roomId") roomId: string): Promise<IntegrationsResponse> {
|
||||
console.log(roomId);
|
||||
return this.getEnabledIntegrations(scalarToken);
|
||||
}
|
||||
|
|
|
@ -35,7 +35,7 @@ export function getFederationUrl(serverName: string): Promise<string> {
|
|||
});
|
||||
}
|
||||
|
||||
export function doFederatedApiCall(method: string, serverName: string, endpoint: string, query?: object, body?:object):Promise<any> {
|
||||
export function doFederatedApiCall(method: string, serverName: string, endpoint: string, query?: object, body?: object): Promise<any> {
|
||||
return getFederationUrl(serverName).then(federationUrl => {
|
||||
return new Promise((resolve, reject) => {
|
||||
request({
|
||||
|
|
|
@ -4,5 +4,5 @@ export interface ScalarRegisterResponse {
|
|||
|
||||
export interface ScalarAccountResponse {
|
||||
user_id: string;
|
||||
//credit: number; // present on scalar-web
|
||||
// credit: number; // present on scalar-web
|
||||
}
|
|
@ -3,7 +3,7 @@
|
|||
"node_modules/codelyzer"
|
||||
],
|
||||
"rules": {
|
||||
"class-name": true,
|
||||
"class-name": false,
|
||||
"comment-format": [
|
||||
true,
|
||||
"check-space"
|
||||
|
@ -54,7 +54,7 @@
|
|||
"check-else",
|
||||
"check-whitespace"
|
||||
],
|
||||
"quotemark": [],
|
||||
"quotemark": false,
|
||||
"radix": true,
|
||||
"semicolon": [
|
||||
"always"
|
||||
|
|
Loading…
Reference in a new issue