diff --git a/api/RestfulService.php b/api/RestfulService.php index c789d4c84..3cd44431e 100644 --- a/api/RestfulService.php +++ b/api/RestfulService.php @@ -588,7 +588,7 @@ class RestfulService_Response extends SS_HTTPResponse { $this->cachedResponse = new RestfulService_Response($content); } else { - $this->cachedResponse->setBody = $content; + $this->cachedResponse->setBody($content); } }