1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-12 22:50:06 +00:00

chore(lint): fixed linting issues

This commit is contained in:
Yury Shkoda
2022-06-20 19:26:29 +03:00
parent 1596173dda
commit 489947bcae
59 changed files with 243 additions and 236 deletions

View File

@@ -754,7 +754,9 @@ export default class SASjs {
* @param data A json object that contains one or more tables, it can also be null
* @returns An object which contains two attributes: 1) status: boolean, 2) msg: string
*/
private validateInput(data: { [key: string]: any } | null): {
private validateInput(
data: { [key: string]: any } | null
): {
status: boolean
msg: string
} {
@@ -978,7 +980,7 @@ export default class SASjs {
* @param accessToken - an access token for an authorised user.
*/
public async fetchLogFileContent(logUrl: string, accessToken?: string) {
return await this.requestClient!.get(logUrl, accessToken).then((res) => {
return await this.requestClient!.get(logUrl, accessToken).then(res => {
if (!res)
return Promise.reject(
new ErrorResponse(