Conform more of the codebase to strictNullChecks
(#10731)
This commit is contained in:
parent
9f8113eabd
commit
1281c0746b
40 changed files with 147 additions and 119 deletions
|
@ -120,7 +120,11 @@ export default class ServerPickerDialog extends React.PureComponent<IProps, ISta
|
|||
|
||||
// try to carry on anyway
|
||||
try {
|
||||
this.validatedConf = await AutoDiscoveryUtils.validateServerConfigWithStaticUrls(hsUrl, null, true);
|
||||
this.validatedConf = await AutoDiscoveryUtils.validateServerConfigWithStaticUrls(
|
||||
hsUrl,
|
||||
undefined,
|
||||
true,
|
||||
);
|
||||
return {};
|
||||
} catch (e) {
|
||||
logger.error(e);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue