Commit 6e39e67f authored by mattwire's avatar mattwire
Browse files

Fix api3

parent 7396f7c6
......@@ -24,7 +24,7 @@ function _civicrm_api3_group_admin_contact_create_spec(&$spec) {
* @throws API_Exception
*/
function civicrm_api3_group_admin_contact_create($params) {
return _civicrm_api3_basic_create(_civicrm_api3_get_BAO(__FUNCTION__), $params, GroupAdminContact);
return _civicrm_api3_basic_create(_civicrm_api3_get_BAO(__FUNCTION__), $params, 'GroupAdminContact');
}
/**
......@@ -52,5 +52,5 @@ function civicrm_api3_group_admin_contact_delete($params) {
* @throws API_Exception
*/
function civicrm_api3_group_admin_contact_get($params) {
return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params, FALSE, GroupAdminContact);
return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params, FALSE, 'GroupAdminContact');
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment