Skip to content

Commit

Permalink
fix sonarcloud bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaslagoni committed Aug 25, 2023
1 parent c5bdf57 commit 1efa3a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/src/containers/Servers/Security.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ const SecurityItem: React.FunctionComponent<SecurityItemProps> = ({
);
}

let flows = securitySchema && securitySchema.flows();
let flows = securitySchema?.flows();
let unwrappedFlows: Record<string, OAuthFlowInterface> = {};
if(flows?.hasImplicit()) {
unwrappedFlows['implicit'] = flows.implicit() as OAuthFlowInterface;
Expand Down

0 comments on commit 1efa3a7

Please sign in to comment.