- BlogPost uses native MongoDB (not Mongoose), causing MissingSchemaError
- Removed all .populate('blogPostId') calls that tried to reference non-existent Mongoose model
- Manually fetch blog post data in controllers when needed
- Updated getSubmissions, getSubmissionById, getSubmissionByBlogPost, exportSubmission
- Updated SubmissionTracking static methods: getByStatus, getByPublication
- Standalone submissions (like Le Monde) now display without errors
27 lines
No EOL
491 B
JSON
27 lines
No EOL
491 B
JSON
{
|
|
"version": "1.0.0",
|
|
"budget": 200000,
|
|
"checkpoints": [
|
|
{
|
|
"percentage": 25,
|
|
"tokens": 50000,
|
|
"completed": false,
|
|
"timestamp": null
|
|
},
|
|
{
|
|
"percentage": 50,
|
|
"tokens": 100000,
|
|
"completed": false,
|
|
"timestamp": null
|
|
},
|
|
{
|
|
"percentage": 75,
|
|
"tokens": 150000,
|
|
"completed": false,
|
|
"timestamp": null
|
|
}
|
|
],
|
|
"next_checkpoint": 50000,
|
|
"overdue": false,
|
|
"last_check": "2025-10-23T21:05:39.425Z"
|
|
} |