diff --git a/filip/models/base.py b/filip/models/base.py index 0f9dbd0c..8373803a 100644 --- a/filip/models/base.py +++ b/filip/models/base.py @@ -104,7 +104,7 @@ class FiwareHeaderSecure(FiwareHeader): default="", max_length=3000, description="authorization key", - regex=r".*" + pattern=r".*" ) @@ -129,4 +129,4 @@ def _missing_name_(cls, name): """ for member in cls: if member.value.casefold() == name.casefold(): - return member \ No newline at end of file + return member