mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-10-26 10:35:28 +08:00
The trafficDiff InputNumber and form schema lacked an upper bound, so values above 100 were accepted in the UI but rejected by the backend (gte=0,lte=100), failing the entire settings save with a misleading 'request body failed validation' error. Add max=100 to the input and .max(100) to the schema.