]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Corrected response class for stopPlayback
authorDavid M. Lee <dlee@digium.com>
Fri, 4 Oct 2013 04:54:51 +0000 (04:54 +0000)
committerDavid M. Lee <dlee@digium.com>
Fri, 4 Oct 2013 04:54:51 +0000 (04:54 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@400508 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_ari_playback.c
rest-api/api-docs/playback.json

index 55da058a85242087776dc58a4693b412b444d7f6..e30800d08317746b33dd780eae2840bc026dbf54 100644 (file)
@@ -145,7 +145,7 @@ static void ast_ari_stop_playback_cb(
                break;
        default:
                if (200 <= code && code <= 299) {
-                       is_valid = ast_ari_validate_playback(
+                       is_valid = ast_ari_validate_void(
                                response->message);
                } else {
                        ast_log(LOG_ERROR, "Invalid error response %d for /playback/{playbackId}\n", code);
index 734abdbff1664e4233ce74da7d5a59898a79dd03..7ad93cd51f3e1df16c113d1cc0a56c87b1f5797c 100644 (file)
@@ -31,7 +31,7 @@
                                        "httpMethod": "DELETE",
                                        "summary": "Stop a playback.",
                                        "nickname": "stopPlayback",
-                                       "responseClass": "Playback",
+                                       "responseClass": "void",
                                        "parameters": [
                                                {
                                                        "name": "playbackId",