Add auth
This commit is contained in:
1 parent
fc9ff49b90
commit
5273d0df9c
391 files changed
+79850
-45
No files matched your search
+7
@@ -0,0 +1,7 @@
|
||||
module.exports = registerPlugin
|
||||
|
||||
const factory = require('./factory')
|
||||
|
||||
function registerPlugin (plugins, pluginFunction) {
|
||||
return factory(plugins.includes(pluginFunction) ? plugins : plugins.concat(pluginFunction))
|
||||
}
|
||||
Reference in new issue
Block a user