Appease the linter
This commit is contained in:
parent
290e244a4e
commit
f37a70b7d8
4 changed files with 5 additions and 5 deletions
|
@ -37,7 +37,7 @@ export class DimensionIntegrationsService {
|
||||||
|
|
||||||
@GET
|
@GET
|
||||||
@Path("room/:roomId")
|
@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);
|
console.log(roomId);
|
||||||
return this.getEnabledIntegrations(scalarToken);
|
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 getFederationUrl(serverName).then(federationUrl => {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
request({
|
request({
|
||||||
|
|
|
@ -4,5 +4,5 @@ export interface ScalarRegisterResponse {
|
||||||
|
|
||||||
export interface ScalarAccountResponse {
|
export interface ScalarAccountResponse {
|
||||||
user_id: string;
|
user_id: string;
|
||||||
//credit: number; // present on scalar-web
|
// credit: number; // present on scalar-web
|
||||||
}
|
}
|
|
@ -3,7 +3,7 @@
|
||||||
"node_modules/codelyzer"
|
"node_modules/codelyzer"
|
||||||
],
|
],
|
||||||
"rules": {
|
"rules": {
|
||||||
"class-name": true,
|
"class-name": false,
|
||||||
"comment-format": [
|
"comment-format": [
|
||||||
true,
|
true,
|
||||||
"check-space"
|
"check-space"
|
||||||
|
@ -54,7 +54,7 @@
|
||||||
"check-else",
|
"check-else",
|
||||||
"check-whitespace"
|
"check-whitespace"
|
||||||
],
|
],
|
||||||
"quotemark": [],
|
"quotemark": false,
|
||||||
"radix": true,
|
"radix": true,
|
||||||
"semicolon": [
|
"semicolon": [
|
||||||
"always"
|
"always"
|
||||||
|
|
Loading…
Reference in a new issue