Also ask for who

This commit is contained in:
Bradley M. Kuhn 2022-06-21 10:14:49 -07:00
parent c2b01e6d97
commit 96d75986f2

View file

@ -37,8 +37,11 @@ while (not defined $requestTypes{$requestType}) {
print "Why fulfillment failed: "; print "Why fulfillment failed: ";
my $why = <STDIN>; my $why = <STDIN>;
chomp $why; 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; die "requestType $requestType not found for $supporterId, or the request was not already fulfilled yet anyway." unless defined $id;