summaryrefslogtreecommitdiff
path: root/modules/image_block
diff options
context:
space:
mode:
Diffstat (limited to 'modules/image_block')
-rw-r--r--modules/image_block/helpers/image_block_rest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/image_block/helpers/image_block_rest.php b/modules/image_block/helpers/image_block_rest.php
index 7afd974c..65eefb21 100644
--- a/modules/image_block/helpers/image_block_rest.php
+++ b/modules/image_block/helpers/image_block_rest.php
@@ -54,9 +54,9 @@ class image_block_rest_Core {
"thumb_size" => array("height" => $item->thumb_height,
"width" => $item->thumb_width));
- return rest::success(array("resource" => $response_data));
+ return rest::reply(array("resource" => $response_data));
} else {
- return rest::fail("No Image found");
+ return rest::reply();
}
}
}