Skip to content

Commit f3d35cd

Browse files
committed
fix
1 parent 41dfb35 commit f3d35cd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/containers/Tenant/Diagnostics/Overview/TransferInfo/Credentials.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ export function Credentials({connection}: CredentialsProps) {
1919
);
2020
}
2121

22-
if (connection.OAuthToken) {
23-
//return connection.OAuthToken.keys().length;
22+
if ('OAuthToken' in connection) {
2423
return connection.OAuthToken.Token || connection.OAuthToken.TokenSecretName ? 'OAuth' : '';
2524
}
2625

0 commit comments

Comments
 (0)