Fix issue with API

This commit is contained in:
James Cole
2018-04-14 09:38:58 +02:00
parent 67fa4a0fc7
commit 5862b832d9
2 changed files with 2 additions and 2 deletions

View File

@@ -57,7 +57,7 @@ class Controller extends BaseController
// do not expose API on demo site:
if (true === $isDemoSite) {
throw new FireflyException('The API is not available on the demo site.');
//throw new FireflyException('The API is not available on the demo site.');
}
// get global parameters