From 4fe7db30c45935469ef1d8a1613f19a76b73a7fb Mon Sep 17 00:00:00 2001 From: Andreas Granig Date: Tue, 6 May 2014 11:51:41 +0200 Subject: [PATCH] MT#3941 API: Prettify voicemail descriptions. Properly link between the corresponding collections. --- lib/NGCP/Panel/Controller/API/VoicemailRecordings.pm | 2 +- lib/NGCP/Panel/Controller/API/Voicemails.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/NGCP/Panel/Controller/API/VoicemailRecordings.pm b/lib/NGCP/Panel/Controller/API/VoicemailRecordings.pm index 28829f7e7a..bc4dbaef61 100644 --- a/lib/NGCP/Panel/Controller/API/VoicemailRecordings.pm +++ b/lib/NGCP/Panel/Controller/API/VoicemailRecordings.pm @@ -20,7 +20,7 @@ class_has 'api_description' => ( is => 'ro', isa => 'Str', default => - 'Defines the actual recording of voicemail messages. It is referred to by the ngcp:voicemails relation. A GET on an item returns the binary blob of the recording with Content-Type "audio/x-wav".', + 'Defines the actual recording of voicemail messages. It is referred to by the Voicemails relation. A GET on an item returns the binary blob of the recording with Content-Type "audio/x-wav".', ); with 'NGCP::Panel::Role::API::VoicemailRecordings'; diff --git a/lib/NGCP/Panel/Controller/API/Voicemails.pm b/lib/NGCP/Panel/Controller/API/Voicemails.pm index c561e9893f..cd5f2f3249 100644 --- a/lib/NGCP/Panel/Controller/API/Voicemails.pm +++ b/lib/NGCP/Panel/Controller/API/Voicemails.pm @@ -20,7 +20,7 @@ class_has 'api_description' => ( is => 'ro', isa => 'Str', default => - 'Defines the meta information like duration, callerid etc for voicemail recordings. The actual recordings can be fetched via the related ngcp:voicemailrecordings relation.', + 'Defines the meta information like duration, callerid etc for voicemail recordings. The actual recordings can be fetched via the VoicemailRecordings relation.', ); class_has 'query_params' => (