From f4f2cb4cd50875c4396c2749703a1119c9ad51b1 Mon Sep 17 00:00:00 2001 From: Michael McAndrew Date: Wed, 19 Oct 2016 15:13:10 +0100 Subject: [PATCH] two more fields that should be required by the grant api --- api/v3/Grant.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/v3/Grant.php b/api/v3/Grant.php index 7ad621671e..0485fbc650 100644 --- a/api/v3/Grant.php +++ b/api/v3/Grant.php @@ -56,6 +56,8 @@ function civicrm_api3_grant_create($params) { function _civicrm_api3_grant_create_spec(&$params) { $params['contact_id']['api.required'] = 1; $params['grant_type_id']['api.required'] = 1; + $params['status_id']['api.required'] = 1; + $params['amount_total']['api.required'] = 1; $params['status_id']['api.aliases'] = array('grant_status'); } -- 2.25.1