Permalink
Browse files

WHISTLE-1473: fix get for outgoing faxes

  • Loading branch information...
1 parent 241f964 commit 234a16953e7a9478caa176695347f63bc6cb6e8d @k-anderson k-anderson committed Aug 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 whistle_apps/apps/crossbar/src/modules/cb_faxes.erl
@@ -153,7 +153,7 @@ validate(#cb_context{req_verb = <<"get">>}=Context, <<"incoming">>) ->
validate(#cb_context{req_verb = <<"get">>}=Context, <<"incoming">>, Id) ->
read(Id, Context);
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) ->
update(Id, Context#cb_context{db_name=?WH_FAXES});
validate(#cb_context{req_verb = <<"delete">>}=Context, <<"outgoing">>, Id) ->

0 comments on commit 234a169

Please sign in to comment.