mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
fix: add 'options' field to AuthenticationRequired
This commit is contained in:
parent
b3fdbbe84f
commit
04b416bdd7
@ -1,9 +1,10 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
module.exports = class AuthenticationRequired {
|
module.exports = class AuthenticationRequired {
|
||||||
constructor({ type, path, message }) {
|
constructor({ type, path, message, options }) {
|
||||||
this.type = type;
|
this.type = type;
|
||||||
this.path = path;
|
this.path = path;
|
||||||
this.message = message;
|
this.message = message;
|
||||||
|
this.options = options;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user