| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| admin | ||
| aiproxy | ||
| apidoc | ||
| common | ||
| core | ||
| invoke | ||
| marketplace | ||
| mcp/app/[key] | ||
| plugin/debug-channel | ||
| proApi | ||
| support | ||
| system | ||
| v1 | ||
| v2/chat |
The schema-detection aggregate in exportAll builds its $match from teamId (returned by authDataset as a string). find() casts the string to ObjectId, but aggregate() does not schema-cast $match values, so the aggregation matched zero documents. exportSchema became undefined, indexCount/hasMetadata fell back to 0/false, and the CSV header collapsed to q,a. Wrap teamId and dataset _ids in Types.ObjectId so the aggregate $match works. dataset _ids are already ObjectId from .lean(), so that wrap is defensive. Co-authored-by: Claude <noreply@anthropic.com>
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| admin | Loading commit data... | |
| aiproxy | Loading commit data... | |
| apidoc | Loading commit data... | |
| common | Loading commit data... | |
| core | Loading commit data... | |
| invoke | Loading commit data... | |
| marketplace | Loading commit data... | |
| mcp/app/[key] | Loading commit data... | |
| plugin/debug-channel | Loading commit data... | |
| proApi | Loading commit data... | |
| support | Loading commit data... | |
| system | Loading commit data... | |
| v1 | Loading commit data... | |
| v2/chat | Loading commit data... |