Typo
This commit is contained in:
@@ -221,7 +221,7 @@ class Controller(object):
|
|||||||
MIME types to information needed to serialize to that type.
|
MIME types to information needed to serialize to that type.
|
||||||
"""
|
"""
|
||||||
_metadata = getattr(type(self), "_serialization_metadata", {})
|
_metadata = getattr(type(self), "_serialization_metadata", {})
|
||||||
serializer = wsgi.Serializer(request.environ, _metadata)
|
serializer = Serializer(request.environ, _metadata)
|
||||||
return serializer.to_content_type(data)
|
return serializer.to_content_type(data)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user