mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-23 00:22:19 +01:00
fix: Autehntication required options is optional
This commit is contained in:
parent
bbb714bf5f
commit
176d2e4dd3
@ -5,7 +5,7 @@ interface IBaseOptions {
|
||||
}
|
||||
|
||||
interface IOptions extends IBaseOptions {
|
||||
options: IBaseOptions[];
|
||||
options?: IBaseOptions[];
|
||||
}
|
||||
|
||||
class AuthenticationRequired {
|
||||
@ -15,7 +15,7 @@ class AuthenticationRequired {
|
||||
|
||||
private message: string;
|
||||
|
||||
private options: IBaseOptions[];
|
||||
private options?: IBaseOptions[];
|
||||
|
||||
constructor({ type, path, message, options }: IOptions) {
|
||||
this.type = type;
|
||||
|
Loading…
Reference in New Issue
Block a user