mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-07-03 21:04:59 +00:00
The /archive and /update routes call saveConvo with req.config.interfaceConfig but did not run configMiddleware, so req.config was undefined. After enabling ephemeral retention, archiving or renaming a pre-existing permanent conversation left it non-temporary with no expiredAt, bypassing the policy. Apply configMiddleware to both routes so saves enforce retention consistently. |
||
|---|---|---|
| .. | ||
| controllers | ||
| middleware | ||
| routes | ||
| services | ||
| utils | ||
| cleanup.js | ||
| experimental.js | ||
| index.js | ||
| index.metrics.spec.js | ||
| index.spec.js | ||
| socialLogins.js | ||
| socialLogins.spec.js | ||
| telemetry.js | ||
| telemetry.spec.js | ||