fix: correct import path and minor issues in quartoFlavor update
Build and Deploy Verso / deploy (push) Successful in 13m44s
Build and Deploy Verso / deploy (push) Successful in 13m44s
- Fix wrong import path '../models/Project.mjs' → '../../models/Project.mjs' (from Features/Compile/, '..' is Features/, not src/; the server would crash on startup with ERR_MODULE_NOT_FOUND in Node.js ESM) - Log MongoDB errors instead of silently swallowing them - Remove null from Mongoose String enum (not a valid enum value for strings) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
bbf532d282
commit
9c7a10aa39
@@ -38,7 +38,7 @@ export const ProjectSchema = new Schema(
|
||||
version: { type: Number }, // incremented for every change in the project structure (folders and filenames)
|
||||
publicAccesLevel: { type: String, default: 'private' },
|
||||
compiler: { type: String, default: settings.defaultLatexCompiler },
|
||||
quartoFlavor: { type: String, enum: ['revealjs', 'pdf', null] },
|
||||
quartoFlavor: { type: String, enum: ['revealjs', 'pdf'] },
|
||||
spellCheckLanguage: { type: String, default: 'en' },
|
||||
deletedByExternalDataSource: { type: Boolean, default: false },
|
||||
description: { type: String, default: '' },
|
||||
|
||||
Reference in New Issue
Block a user