diff --git a/src/pyflask/namespaces/system.py b/src/pyflask/namespaces/system.py index 1bdef06da..052b2742f 100644 --- a/src/pyflask/namespaces/system.py +++ b/src/pyflask/namespaces/system.py @@ -21,6 +21,7 @@ def get(self) -> Union[Dict[str, int], None]: return dict(physical=physical, logical=logical) + @system_namespace.route("/all_timezones") class GetTimezones(flask_restx.Resource): @@ -42,4 +43,4 @@ class GetTimezones(flask_restx.Resource): def get(self) -> str: import tzlocal - return tzlocal.get_localzone_name() \ No newline at end of file + return tzlocal.get_localzone_name()