| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| agent-sandbox | ||
| agent-sandbox-proxy | ||
| app | ||
| code-sandbox | ||
| fastgpt-ide-agent | ||
| marketplace | ||
| mcp_server | ||
| volume-manager | ||
| README.md |
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 |
|---|---|---|
| .. | ||
| agent-sandbox | Loading commit data... | |
| agent-sandbox-proxy | Loading commit data... | |
| app | Loading commit data... | |
| code-sandbox | Loading commit data... | |
| fastgpt-ide-agent | Loading commit data... | |
| marketplace | Loading commit data... | |
| mcp_server | Loading commit data... | |
| volume-manager | Loading commit data... | |
| README.md | Loading commit data... |