Do for renewitem what was done for checkoutitem in previous commit.
[working/NCIPServer.git] / lib / NCIP / ILS / Evergreen.pm
index 01f1ea4..886ba9a 100644 (file)
@@ -635,7 +635,7 @@ sub renewitem {
     # user is not allowed to renew this item, without getting into
     # details.
     my $params = {
-        copy => $copy,
+        copy_id => $copy->id(),
         patron_id => $user->id(),
         sip_renewal => 1
     };