fix: Path to onboarding markdown files (changed with updated build process)

This commit is contained in:
Tom Moor
2020-09-15 12:20:27 -07:00
parent 3940f1a108
commit ab3613af48

View File

@@ -148,7 +148,15 @@ Team.prototype.provisionFirstCollection = async function (userId) {
];
for (const title of onboardingDocs) {
const text = await readFile(
path.join(__dirname, "..", "onboarding", `${title}.md`),
path.join(
__dirname,
"..",
"..",
"..",
"server",
"onboarding",
`${title}.md`
),
"utf8"
);
const document = await Document.create({