diff options
Diffstat (limited to 'res/ari/resource_bridges.c')
-rw-r--r-- | res/ari/resource_bridges.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/ari/resource_bridges.c b/res/ari/resource_bridges.c index bcd27af14..5914a0711 100644 --- a/res/ari/resource_bridges.c +++ b/res/ari/resource_bridges.c @@ -692,7 +692,7 @@ void ast_ari_bridges_record(struct ast_variable *headers, return; } - if (options->if_exists == -1) { + if (options->if_exists == AST_RECORD_IF_EXISTS_ERROR) { ast_ari_response_error( response, 400, "Bad Request", "ifExists invalid"); |