From 1803b40852ce6b5c58a3712427f3c85300fa8147 Mon Sep 17 00:00:00 2001 From: Brutus5000 Date: Wed, 6 Nov 2024 13:30:21 +0100 Subject: [PATCH] Fix exporting of hooks --- library.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library.js b/library.js index afde0f7..af5e5f2 100644 --- a/library.js +++ b/library.js @@ -66,7 +66,7 @@ const constants = Object.freeze({ userRoute: nconf.get('oauth:fafApiProfileURL'), // This is the address to your app's "user profile" API endpoint (expects JSON) }); -const OAuth = {}; +const OAuth = module.exports; let configOk = false; let passportOAuth; let opts;