Skip to content

Commit 47a1a20

Browse files
committed
fix(config): apply section alias normalization to admin hide list
Signed-off-by: Madhav Kandukuri <madhav165@gmail.com>
1 parent da46d07 commit 47a1a20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mcpgateway/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1991,7 +1991,7 @@ def _filter_empty_forbidden_patterns(cls, value: list[str]) -> list[str]:
19911991
"""
19921992
return [p for p in value if p and p.strip()]
19931993

1994-
@field_validator("mcpgateway_ui_hide_sections", mode="after")
1994+
@field_validator("mcpgateway_ui_hide_sections", "mcpgateway_ui_hide_sections_admin", mode="after")
19951995
@classmethod
19961996
def _validate_ui_hide_sections(cls, value: list[str]) -> list[str]:
19971997
"""Normalize and filter hidable UI sections.

0 commit comments

Comments
 (0)