From 394bc2a44c0a11d6115cfaf91a9493052c058339 Mon Sep 17 00:00:00 2001 From: Francesco Siddi Date: Fri, 25 Sep 2015 10:46:47 +0200 Subject: [PATCH] Updated entry point for file storage --- pillarsdk/files.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pillarsdk/files.py b/pillarsdk/files.py index 4ffab62..dbac48a 100755 --- a/pillarsdk/files.py +++ b/pillarsdk/files.py @@ -12,8 +12,8 @@ class File(List, Find, Create, Post, Update, Delete, Replace): """Node class wrapping the REST nodes endpoint """ path = "files" - file_server_path = "file_server/file" - build_previews_server_path = "file_server/build_previews" + file_server_path = "file_storage/file" + build_previews_server_path = "file_storage/build_previews" def post_file(self, file_path, name=None, api=None): """Stores a file on the database or static folder. @@ -61,7 +61,6 @@ class File(List, Find, Create, Post, Update, Delete, Replace): else: raise ValueError("Size should be (s, b, t, m, l, h)") - def thumbnail_file(self, size, api=None): """Delivers a single thumbnail (child) file for an image. Before returning we check that the parent is actually an image.