Fix org graphs test for entity upgrade
This commit is contained in:
parent
adfcd8880f
commit
cca27b5475
2 changed files with 5 additions and 3 deletions
|
@ -56,7 +56,7 @@ sub graph_customers_last_30_days {
|
|||
sub _customers_last_duration {
|
||||
my ( $c, $duration ) = @_;
|
||||
|
||||
my $org = $c->stash->{api_user}->organisation;
|
||||
my $org = $c->stash->{api_user}->entity;
|
||||
|
||||
my $data = { day => [], count => [] };
|
||||
|
||||
|
|
Reference in a new issue