Corrected response class for stopPlayback

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@400508 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
David M. Lee
2013-10-04 04:54:51 +00:00
parent 624dbb74a5
commit 096ce6c5b7
2 changed files with 2 additions and 2 deletions

View File

@@ -145,7 +145,7 @@ static void ast_ari_stop_playback_cb(
break; break;
default: default:
if (200 <= code && code <= 299) { if (200 <= code && code <= 299) {
is_valid = ast_ari_validate_playback( is_valid = ast_ari_validate_void(
response->message); response->message);
} else { } else {
ast_log(LOG_ERROR, "Invalid error response %d for /playback/{playbackId}\n", code); ast_log(LOG_ERROR, "Invalid error response %d for /playback/{playbackId}\n", code);

View File

@@ -31,7 +31,7 @@
"httpMethod": "DELETE", "httpMethod": "DELETE",
"summary": "Stop a playback.", "summary": "Stop a playback.",
"nickname": "stopPlayback", "nickname": "stopPlayback",
"responseClass": "Playback", "responseClass": "void",
"parameters": [ "parameters": [
{ {
"name": "playbackId", "name": "playbackId",