From 871a96552ec9cacad73bf7737d72eee3166523dc Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Mon, 3 Jul 2023 10:15:57 -0300 Subject: [PATCH] Bug 23336: (QA follow-up) Minor fixes There are two leftover includes, and a couple typos in a comment and POD title. This patch fixes that. Signed-off-by: Tomas Cohen Arazi --- Koha/REST/V1/Checkouts.pm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Koha/REST/V1/Checkouts.pm b/Koha/REST/V1/Checkouts.pm index 2fd756e3ae..ea9ccd5267 100644 --- a/Koha/REST/V1/Checkouts.pm +++ b/Koha/REST/V1/Checkouts.pm @@ -19,8 +19,6 @@ use Modern::Perl; use Mojo::Base 'Mojolicious::Controller'; use Mojo::JSON; -use Digest::MD5 qw( md5_base64 ); -use Encode; use C4::Auth qw( haspermission ); use C4::Context; @@ -102,7 +100,7 @@ sub get { }; } -=head3 get_availablity +=head3 get_availability Controller function that handles retrieval of Checkout availability @@ -205,7 +203,7 @@ sub add { if ( keys %{$confirmation} ) { my $confirmed = 0; - # Check for existance of confirmation token + # Check for existence of confirmation token # and if exists check validity if ( my $token = $c->param('confirmation') ) { my $confirm_keys = join( ":", sort keys %{$confirmation} ); -- 2.39.5