Import Seshat from matrix-seshat
This commit is contained in:
parent
add2458a45
commit
8e129bb9ca
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ const afs = fs.promises;
|
|||
let Seshat = null;
|
||||
|
||||
try {
|
||||
Seshat = require('matrix-seshat');
|
||||
Seshat = require('matrix-seshat').Seshat;
|
||||
} catch (e) {
|
||||
if (e.code === "MODULE_NOT_FOUND") {
|
||||
console.log("Seshat isn't installed, event indexing is disabled.");
|
||||
|
|
Loading…
Add table
Reference in a new issue