mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-07-03 04:42:11 +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. |
||
|---|---|---|
| .. | ||
| app | ||
| cache | ||
| config | ||
| db | ||
| models | ||
| server | ||
| strategies | ||
| test | ||
| utils | ||
| jest.config.js | ||
| jsconfig.json | ||
| package.json | ||
| typedefs.js | ||