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