diff --git a/process/files/intradata_get.pl b/process/files/intradata_get.pl index e97cdc7..fa70bc6 100644 --- a/process/files/intradata_get.pl +++ b/process/files/intradata_get.pl @@ -41,7 +41,7 @@ sub update_project { my $args = shift; - my $project_id = $args->{param}{project_id}; + my $project_id = $args->{param}{id}; my $year = $args->{param}{year} // LDAP::get_year; if (! $project_id) { @@ -86,7 +86,7 @@ sub process_get log WARN, "Unknown action '$action' for $type."; } - return $node_actions{$type}{$action}($args); + return $actions{$type}{$action}($args); } Process::register("intradata_get", \&process_get);