From 650fec8e48fab3dd8c57dadcdba88a6455c7956f Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Tue, 15 Feb 2022 23:44:16 -0500 Subject: [PATCH] APIv4 - Fix typo in Entity.getFields --- Civi/Api4/Entity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Civi/Api4/Entity.php b/Civi/Api4/Entity.php index fbe5d75f67..9fc1dd7348 100644 --- a/Civi/Api4/Entity.php +++ b/Civi/Api4/Entity.php @@ -81,7 +81,7 @@ class Entity extends Generic\AbstractEntity { ], [ 'name' => 'primary_key', - 'type' => 'Array', + 'data_type' => 'Array', 'description' => 'Name of unique identifier field(s) (e.g. [id])', ], [ -- 2.25.1