diff --git a/lib/NGCP/Panel/Utils/Journal.pm b/lib/NGCP/Panel/Utils/Journal.pm index 577aaf2981..1c016b346f 100644 --- a/lib/NGCP/Panel/Utils/Journal.pm +++ b/lib/NGCP/Panel/Utils/Journal.pm @@ -655,7 +655,7 @@ sub _create_journal { } - $journal{reseller_id} = $resource->{reseller_id}; + $journal{reseller_id} = $resource->{reseller_id} // $c->user->reseller_id; $journal{role_id} = NGCP::Panel::Utils::UserRole::resolve_role_id($c, $c->user); $journal{tx_id} = $c->session->{api_request_tx_id};