holdRequest(): requestId is not a parameter.
This commit is contained in:
parent
ebcabc5231
commit
faf1a239a4
1 changed files with 1 additions and 1 deletions
|
@ -1422,7 +1422,7 @@ sub holdRequest($$) {
|
||||||
foreach my $key (qw/who holdReleaseDate heldBecause/) {
|
foreach my $key (qw/who holdReleaseDate heldBecause/) {
|
||||||
die "holdRequest: required parameter undefined: \"$key\"" unless defined $params->{$key};
|
die "holdRequest: required parameter undefined: \"$key\"" unless defined $params->{$key};
|
||||||
}
|
}
|
||||||
die "holdRequest: requestType, requestTypeId, and requestId are all undefined"
|
die "holdRequest: requestType and requestTypeId are all undefined"
|
||||||
unless defined $params->{requestType} or defined $params->{requestTypeId};
|
unless defined $params->{requestType} or defined $params->{requestTypeId};
|
||||||
|
|
||||||
my $req = $self->getRequest($params);
|
my $req = $self->getRequest($params);
|
||||||
|
|
Loading…
Reference in a new issue