diff --git a/fablib.py b/fablib.py index 166bb4c..b3f57a3 100644 --- a/fablib.py +++ b/fablib.py @@ -201,14 +201,14 @@ class Document(Resource): api.add_resource(Document, '//') class DocumentText(Resource): - def get(self, key): + def get(self, profile, document): return trunk.get(key) api.add_resource(DocumentText, '///text') class DocumentHTML(Resource): - def get(self, key): + def get(self, profile, document): return trunk.get(key) api.add_resource(DocumentHTML, '///html')