Fix: Allow DRF to validate the maximum API key length (#13614)

This commit is contained in:
Trenton H
2026-08-08 19:51:27 +00:00
committed by GitHub
parent b0e0e8a353
commit 17dc482872
+1
View File
@@ -217,6 +217,7 @@ class ApplicationConfigurationSerializer(
llm_api_key = ObfuscatedPasswordField(
required=False,
allow_null=True,
max_length=1024,
)
def run_validation(self, data):