Skip to content

Commit

Permalink
fix the mwi validation
Browse files Browse the repository at this point in the history
  • Loading branch information
k-anderson committed Dec 10, 2011
1 parent a51220c commit 7d38ab1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/whistle-1.0.0/src/api/wapi_notifications.erl
Expand Up @@ -78,7 +78,7 @@ mwi_update(JObj) ->
mwi_update_v(Prop) when is_list(Prop) ->
wh_api:validate(Prop, ?MWI_REQ_HEADERS, ?MWI_REQ_VALUES, ?MWI_REQ_TYPES);
mwi_update_v(JObj) ->
mwi_update(wh_json:to_proplist(JObj)).
mwi_update_v(wh_json:to_proplist(JObj)).

-spec bind_q/2 :: (ne_binary(), proplist()) -> 'ok'.
bind_q(Q, Props) ->
Expand Down

0 comments on commit 7d38ab1

Please sign in to comment.