Skip to content

Commit

Permalink
quick fix for modb routines
Browse files Browse the repository at this point in the history
  • Loading branch information
lazedo committed May 3, 2016
1 parent 12ad442 commit 61a38a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/kazoo_modb/src/kazoo_modb.erl
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,8 @@ create_routines(AccountMODb) ->
'ok'.

-spec run_routine(ne_binary(), ne_binary()) -> any().
run_routine(AccountMODb, <<"wh_", Routine/binary>>) ->
run_routine(AccountMODb, <<"kz_", Routine/binary>>);
run_routine(AccountMODb, Routine) ->
Module = kz_util:to_atom(Routine),
_ = Module:modb(AccountMODb).
Expand Down

0 comments on commit 61a38a4

Please sign in to comment.