| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| account | ||
| api | ||
| apidoc | ||
| app/detail | ||
| chat | ||
| config/tool | ||
| dashboard | ||
| dataset | ||
| login | ||
| price | ||
| skill | ||
| 404.tsx | ||
| _app.tsx | ||
| _document.tsx | ||
| _error.tsx | ||
| index.module.scss | ||
| index.tsx |
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 |
|---|---|---|
| .. | ||
| account | Loading commit data... | |
| api | Loading commit data... | |
| apidoc | Loading commit data... | |
| app/detail | Loading commit data... | |
| chat | Loading commit data... | |
| config/tool | Loading commit data... | |
| dashboard | Loading commit data... | |
| dataset | Loading commit data... | |
| login | Loading commit data... | |
| price | Loading commit data... | |
| skill | Loading commit data... | |
| 404.tsx | Loading commit data... | |
| _app.tsx | Loading commit data... | |
| _document.tsx | Loading commit data... | |
| _error.tsx | Loading commit data... | |
| index.module.scss | Loading commit data... | |
| index.tsx | Loading commit data... |