File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
lib/SGN/Controller/AJAX/DroneImagery Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1358,10 +1358,11 @@ sub upload_drone_imagery_new_vehicle : Path('/api/drone_imagery/new_imaging_vehi
1358
1358
sub upload_drone_imagery_new_vehicle_GET : Args(0) {
1359
1359
my $self = shift ;
1360
1360
my $c = shift ;
1361
- $c -> response -> headers -> header( " Access-Control-Allow-Origin " => ' * ' );
1361
+
1362
1362
my $sp_person_id = $c -> user() ? $c -> user-> get_object()-> get_sp_person_id() : undef ;
1363
- my $schema = $c -> dbic_schema(" Bio::Chado::Schema" , $sp_person_id );
1363
+ my $schema = $c -> dbic_schema(" Bio::Chado::Schema" , undef , $sp_person_id );
1364
1364
my ($user_id , $user_name , $user_role ) = _check_user_login($c );
1365
+
1365
1366
my $vehicle_name = $c -> req-> param(' vehicle_name' );
1366
1367
my $vehicle_desc = $c -> req-> param(' vehicle_description' );
1367
1368
my $battery_names_string = $c -> req-> param(' battery_names' );
You can’t perform that action at this time.
0 commit comments