Commit 69fc8540 authored by Nicolò Caruso's avatar Nicolò Caruso
Browse files

Rename 'units-calendar' and 'events-calendar'

parent b9822818
......@@ -163,7 +163,7 @@ function bat_api_services_resources() {
),
);
$resources['units2'] = array(
$resources['units-calendar'] = array(
'operations' => array(
'index' => array(
'callback' => 'bat_api_services_units_index_calendar',
......@@ -254,7 +254,7 @@ function bat_api_services_resources() {
),
);
$resources['events2'] = array(
$resources['events-calendar'] = array(
'operations' => array(
'index' => array(
'callback' => 'bat_api_services_events_index_calendar',
......
......@@ -51,7 +51,7 @@ function bat_api_default_services_endpoint() {
),
),
),
'units2' => array(
'units-calendar' => array(
'operations' => array(
'index' => array(
'enabled' => '1',
......@@ -65,7 +65,7 @@ function bat_api_default_services_endpoint() {
),
),
),
'events2' => array(
'events-calendar' => array(
'operations' => array(
'index' => array(
'enabled' => '1',
......
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