fix: options typo

This commit is contained in:
cge 2021-12-16 19:01:09 +01:00
parent 3eeceff39a
commit a91c414d6e

View File

@ -298,7 +298,7 @@ export class RedocNormalizedOptions {
typeof raw.tryLiveSandboxServerIndex === 'number'
? raw.tryLiveSandboxServerIndex
: argValueToNumber(raw.tryLiveSandboxServerIndex) || 1;
this.tryLiveEditorTheme = raw.tryLiveAccessToken || '';
this.tryLiveEditorTheme = raw.tryLiveEditorTheme || '';
this.unstable_ignoreMimeParameters = argValueToBoolean(raw.unstable_ignoreMimeParameters);