Also ask for who
This commit is contained in:
parent
c2b01e6d97
commit
96d75986f2
1 changed files with 4 additions and 1 deletions
|
@ -37,8 +37,11 @@ while (not defined $requestTypes{$requestType}) {
|
|||
print "Why fulfillment failed: ";
|
||||
my $why = <STDIN>;
|
||||
chomp $why;
|
||||
print "Who?: ";
|
||||
my $who = <STDIN>;
|
||||
chomp $who;
|
||||
|
||||
my $id = $sp->fulfillFailure({donorId => $supporterId, requestType => $requestType, why => $why});
|
||||
my $id = $sp->fulfillFailure({donorId => $supporterId, requestType => $requestType, why => $why, who => $who});
|
||||
|
||||
die "requestType $requestType not found for $supporterId, or the request was not already fulfilled yet anyway." unless defined $id;
|
||||
|
||||
|
|
Loading…
Reference in a new issue