Fixed upload test and controller after updates to session key usage

This commit is contained in:
Tom Bloor 2017-04-18 23:43:49 +01:00
parent f01a7a9439
commit 110a051a4e
3 changed files with 42 additions and 15 deletions

View file

@ -38,7 +38,7 @@ The name of an organisation. Used when transactionAdditionType is 3.
sub post_upload {
my $self = shift;
my $userId = $self->get_active_user_id();
my $userId = $self->stash->{api_user}->id;
my $json = $self->param('json');
if ( ! defined $json ) {