diff --git a/src/Model/Entity/EncryptionKey.php b/src/Model/Entity/EncryptionKey.php index c2f0f04..a9b2f67 100644 --- a/src/Model/Entity/EncryptionKey.php +++ b/src/Model/Entity/EncryptionKey.php @@ -7,4 +7,9 @@ use Cake\ORM\Entity; class EncryptionKey extends AppModel { + + public function rearrangeForAPI(): void + { + $this->rearrangeSimplify(['organisation', 'individual']); + } }