Appease the linter

This commit is contained in:
Travis Ralston 2017-12-22 22:07:18 -07:00
parent 290e244a4e
commit f37a70b7d8
4 changed files with 5 additions and 5 deletions

View file

@ -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);
}

View file

@ -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({

View file

@ -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
}

View file

@ -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"