@@ -18,7 +18,6 @@ |
||
| 18 | 18 | |
| 19 | 19 | use SWP\Bundle\ContentBundle\Doctrine\ImageRepositoryInterface; |
| 20 | 20 | use SWP\Bundle\ContentBundle\Model\ArticleMedia; |
| 21 | -use SWP\Bundle\ContentBundle\Model\File; |
|
| 22 | 21 | use SWP\Bundle\ContentBundle\Model\Image; |
| 23 | 22 | use SWP\Bundle\ContentBundle\Model\ImageRendition; |
| 24 | 23 | use SWP\Bundle\ContentBundle\Factory\MediaFactoryInterface; |
@@ -74,17 +74,17 @@ |
||
| 74 | 74 | } |
| 75 | 75 | |
| 76 | 76 | return [ |
| 77 | - 'id' => $tenant->getId(), |
|
| 78 | - 'subdomain' => $tenant->getSubdomain(), |
|
| 79 | - 'domainName' => $tenant->getDomainName(), |
|
| 80 | - 'code' => $tenantCode, |
|
| 81 | - 'name' => $tenant->getName(), |
|
| 82 | - 'ampEnabled' => $tenant->isAmpEnabled(), |
|
| 77 | + 'id' => $tenant->getId(), |
|
| 78 | + 'subdomain' => $tenant->getSubdomain(), |
|
| 79 | + 'domainName' => $tenant->getDomainName(), |
|
| 80 | + 'code' => $tenantCode, |
|
| 81 | + 'name' => $tenant->getName(), |
|
| 82 | + 'ampEnabled' => $tenant->isAmpEnabled(), |
|
| 83 | 83 | '_links' => [ |
| 84 | 84 | 'self' => [ |
| 85 | 85 | 'href' => $this->router->generate('swp_api_core_get_tenant', ['code' => $tenantCode]), |
| 86 | 86 | ], |
| 87 | 87 | ], |
| 88 | - ]; |
|
| 88 | + ]; |
|
| 89 | 89 | } |
| 90 | 90 | } |