mirror of
https://github.com/samanhappy/mcphub.git
synced 2025-12-24 02:39:19 -05:00
Fix inverted validation for enableSessionRebuild system config (#451)
Co-authored-by: samanhappy <samanhappy@gmail.com>
This commit is contained in:
@@ -543,7 +543,7 @@ export const updateSystemConfig = (req: Request, res: Response): void => {
|
|||||||
|
|
||||||
const hasNameSeparatorUpdate = typeof nameSeparator === 'string';
|
const hasNameSeparatorUpdate = typeof nameSeparator === 'string';
|
||||||
|
|
||||||
const hasSessionRebuildUpdate = typeof enableSessionRebuild !== 'boolean';
|
const hasSessionRebuildUpdate = typeof enableSessionRebuild === 'boolean';
|
||||||
|
|
||||||
const hasOAuthServerUpdate =
|
const hasOAuthServerUpdate =
|
||||||
oauthServer &&
|
oauthServer &&
|
||||||
|
|||||||
Reference in New Issue
Block a user