Skip to content

Commit

Permalink
WHISTLE-1473: fix get for outgoing faxes
Browse files Browse the repository at this point in the history
  • Loading branch information
k-anderson committed Aug 13, 2012
1 parent 241f964 commit 234a169
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion whistle_apps/apps/crossbar/src/modules/cb_faxes.erl
Expand Up @@ -153,7 +153,7 @@ validate(#cb_context{req_verb = <<"get">>}=Context, <<"incoming">>) ->
validate(#cb_context{req_verb = <<"get">>}=Context, <<"incoming">>, Id) -> validate(#cb_context{req_verb = <<"get">>}=Context, <<"incoming">>, Id) ->
read(Id, Context); read(Id, Context);
validate(#cb_context{req_verb = <<"get">>}=Context, <<"outgoing">>, Id) -> validate(#cb_context{req_verb = <<"get">>}=Context, <<"outgoing">>, Id) ->
read(Id, Context); read(Id, Context#cb_context{db_name=?WH_FAXES});
validate(#cb_context{req_verb = <<"post">>}=Context, <<"outgoing">>, Id) -> validate(#cb_context{req_verb = <<"post">>}=Context, <<"outgoing">>, Id) ->
update(Id, Context#cb_context{db_name=?WH_FAXES}); update(Id, Context#cb_context{db_name=?WH_FAXES});
validate(#cb_context{req_verb = <<"delete">>}=Context, <<"outgoing">>, Id) -> validate(#cb_context{req_verb = <<"delete">>}=Context, <<"outgoing">>, Id) ->
Expand Down

0 comments on commit 234a169

Please sign in to comment.