Skip to content

Commit 8d40399

Browse files
#RI-5156 - remove console
1 parent 4f75f17 commit 8d40399

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

redisinsight/api/src/modules/rdi/client/api.rdi.client.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,20 +146,17 @@ export class ApiRdiClient extends RdiClient {
146146
}
147147

148148
async connect(): Promise<void> {
149-
console.log('conenct')
150149
try {
151150
const response = await this.client.post(
152151
RdiUrl.Login,
153152
{ username: this.rdi.username, password: this.rdi.password },
154153
);
155-
console.log(response, 'response');
156154
const accessToken = response.data.access_token;
157155
const decodedJwt = decode(accessToken);
158156

159157
this.auth = { jwt: accessToken, exp: decodedJwt.exp };
160158
this.client.defaults.headers.common['Authorization'] = `Bearer ${accessToken}`;
161159
} catch (e) {
162-
console.log(e);
163160
throw wrapRdiPipelineError(e);
164161
}
165162
}

0 commit comments

Comments
 (0)