Skip to content

Commit fdf12b6

Browse files
onnetlazedo
authored andcommitted
Partial revert 2600hz#3732 (2600hz#3748)
Sorry, introduced bug and would like to correct it
1 parent 64574c8 commit fdf12b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/kazoo_config/src/kapps_config_util.erl

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ load_config_from_reseller(Account, Config) ->
5151

5252
-spec load_config_from_system(api_binary(), ne_binary()) -> {ok, kz_json:object()}.
5353
load_config_from_system(_Account, Config) ->
54-
{'ok', kz_json:get_value(<<"default">>, kapps_config:get_category(Config), kz_json:new())}.
54+
{'ok', kz_json:get_value(<<"default">>, maybe_new(kapps_config:get_category(Config)), kz_json:new())}.
5555

5656
-spec load_default_config(api_binary(), ne_binary()) -> {ok, kz_json:object()}.
5757
load_default_config(_Account, Config) ->

0 commit comments

Comments
 (0)