diff --git a/src/QueryBuilder/PermissionsQuery/PermissionQueryResponse.php b/src/QueryBuilder/PermissionsQuery/PermissionQueryResponse.php index fb8036c..3e0ae41 100644 --- a/src/QueryBuilder/PermissionsQuery/PermissionQueryResponse.php +++ b/src/QueryBuilder/PermissionsQuery/PermissionQueryResponse.php @@ -4,6 +4,8 @@ namespace Darksparrow\DeegraphInteractions\QueryBuilder\PermissionsQuery; final class PermissionQueryResponse { + public array $Permissions = []; + public bool $CanAct = false; public bool $CanDelete = false; public bool $CanRead = false; @@ -13,6 +15,8 @@ final class PermissionQueryResponse { foreach ($deegraphResponse["@permissions"] as $permission) { + $this->Permissions[] = $permission; + switch($permission) { case "ACT":