From 04b416bdd709bda73504c768fb6bbda878f067ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivar=20Conradi=20=C3=98sthus?= Date: Thu, 14 May 2020 22:32:33 +0200 Subject: [PATCH] fix: add 'options' field to AuthenticationRequired --- lib/authentication-required.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/authentication-required.js b/lib/authentication-required.js index 4c1a60f2d8..4f6d97689c 100644 --- a/lib/authentication-required.js +++ b/lib/authentication-required.js @@ -1,9 +1,10 @@ 'use strict'; module.exports = class AuthenticationRequired { - constructor({ type, path, message }) { + constructor({ type, path, message, options }) { this.type = type; this.path = path; this.message = message; + this.options = options; } };