Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

WHISTLE-1473: fix get for outgoing faxes

  • Loading branch information...
commit 234a16953e7a9478caa176695347f63bc6cb6e8d 1 parent 241f964
bitbashing k-anderson authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  whistle_apps/apps/crossbar/src/modules/cb_faxes.erl
2  whistle_apps/apps/crossbar/src/modules/cb_faxes.erl
@@ -153,7 +153,7 @@ validate(#cb_context{req_verb = <<"get">>}=Context, <<"incoming">>) ->
153 153 validate(#cb_context{req_verb = <<"get">>}=Context, <<"incoming">>, Id) ->
154 154 read(Id, Context);
155 155 validate(#cb_context{req_verb = <<"get">>}=Context, <<"outgoing">>, Id) ->
156   - read(Id, Context);
  156 + read(Id, Context#cb_context{db_name=?WH_FAXES});
157 157 validate(#cb_context{req_verb = <<"post">>}=Context, <<"outgoing">>, Id) ->
158 158 update(Id, Context#cb_context{db_name=?WH_FAXES});
159 159 validate(#cb_context{req_verb = <<"delete">>}=Context, <<"outgoing">>, Id) ->

0 comments on commit 234a169

Please sign in to comment.
Something went wrong with that request. Please try again.