stasis-http: Provide a response body for 201 created responses
[asterisk/asterisk.git] / res / res_stasis_playback.c
index 842fc0e..a5f7303 100644 (file)
@@ -266,7 +266,7 @@ struct stasis_app_playback *stasis_app_control_play_uri(
                stasis_app_control_get_channel_id(control), uri);
 
        playback = ao2_alloc(sizeof(*playback), playback_dtor);
-       if (!playback || ast_string_field_init(playback, 128) ){
+       if (!playback || ast_string_field_init(playback, 128)) {
                return NULL;
        }
 
@@ -330,7 +330,6 @@ struct ast_json *stasis_app_playback_to_json(
                return NULL;
        }
 
-
        json = ast_json_pack("{s: s, s: s, s: s, s: s}",
                "id", playback->id,
                "media_uri", playback->media,