Skip to content

Commit 5d78c2b

Browse files
committed
format
1 parent d55f3e4 commit 5d78c2b

50 files changed

Lines changed: 4895 additions & 3846 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎src/internal/api/apis.ts‎

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,26 @@ import { UserApi } from './userApi';
1919
import * as http from 'http';
2020

2121
export class HttpError extends Error {
22-
constructor (public response: http.IncomingMessage, public body: any, public statusCode?: number) {
23-
super('HTTP request failed');
24-
this.name = 'HttpError';
25-
}
22+
constructor(
23+
public response: http.IncomingMessage,
24+
public body: any,
25+
public statusCode?: number
26+
) {
27+
super('HTTP request failed');
28+
this.name = 'HttpError';
29+
}
2630
}
2731

2832
export { RequestFile } from '../model/models';
2933

30-
export const APIS = [AuthApi, EmailApi, FileBucketApi, FileConfigApi, FileDownloadApi, FileProviderApi, FileUploadApi, ProjectApi, UserApi];
34+
export const APIS = [
35+
AuthApi,
36+
EmailApi,
37+
FileBucketApi,
38+
FileConfigApi,
39+
FileDownloadApi,
40+
FileProviderApi,
41+
FileUploadApi,
42+
ProjectApi,
43+
UserApi,
44+
];

0 commit comments

Comments
 (0)