@@ -, +, @@ --- Koha/BackgroundJob.pm | 6 +++--- Koha/REST/V1/BackgroundJobs.pm | 2 +- api/v1/swagger/paths/jobs.yaml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) --- a/Koha/BackgroundJob.pm +++ a/Koha/BackgroundJob.pm @@ -47,7 +47,7 @@ my $job_id = Koha::BackgroundJob->enqueue( ); Consumer: -Koha::BackgrounJobs->find($job_id)->process; +Koha::BackgroundJobs->find($job_id)->process; See also C for a full example =head1 API @@ -386,7 +386,7 @@ sub _derived_class { =head3 type_to_class_mapping - my $mapping = Koha::BackgrounJob->new->type_to_class_mapping; + my $mapping = Koha::BackgroundJob->new->type_to_class_mapping; Returns the available types to class mappings. @@ -404,7 +404,7 @@ sub type_to_class_mapping { =head3 core_types_to_classes - my $mappings = Koha::BackgrounJob->new->core_types_to_classes + my $mappings = Koha::BackgroundJob->new->core_types_to_classes Returns the core background jobs types to class mappings. --- a/Koha/REST/V1/BackgroundJobs.pm +++ a/Koha/REST/V1/BackgroundJobs.pm @@ -29,7 +29,7 @@ use Try::Tiny; =head3 list -Controller function that handles listing Koha::BackgrounJob objects +Controller function that handles listing Koha::BackgroundJob objects =cut --- a/api/v1/swagger/paths/jobs.yaml +++ a/api/v1/swagger/paths/jobs.yaml @@ -13,7 +13,7 @@ in: query required: false type: boolean - description: If should filter out not current jobs + description: Only include current jobs - $ref: "../swagger.yaml#/parameters/match" - $ref: "../swagger.yaml#/parameters/order_by" - $ref: "../swagger.yaml#/parameters/page" --