A couple of $ses->simplereq() calls had
->gather(1) on the end which causes crashes
on receiving a RenewItem message.
Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Jason Stephenson <jason@sigio.com>
'open-ils.pcrud.retrieve.crcd',
$self->{session}->{authtoken},
$rule
- )->gather(1);
+ );
}
if ($rule->max_renewals() < 1) {
$response->problem(
'open-ils.circ.renew.override',
$self->{session}->{authtoken},
$params
- )->gather(1);
+ );
# We only look at the first one, since more than one usually means
# failure.