16 lines
394 B
JavaScript
16 lines
394 B
JavaScript
'use strict'
|
|
const debug = require('debug')
|
|
const appRoot = require('app-root-path')
|
|
const { registerOrUpdateScope } = require(`${appRoot}/modules/shared`)
|
|
|
|
exports.init = async () => {
|
|
debug('speckle:modules')('💌 Init invites module')
|
|
|
|
const scopes = require('./scopes.js')
|
|
for (const scope of scopes) {
|
|
await registerOrUpdateScope(scope)
|
|
}
|
|
}
|
|
|
|
exports.finalize = async () => {}
|