Skip to content

Commit

Permalink
Fix the return value for insufficient funds
Browse files Browse the repository at this point in the history
  • Loading branch information
kylemhall committed Sep 15, 2023
1 parent 6f1cc9d commit 87a6c79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Libki/Utils/Printing.pm
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ sub release {
);
}
else {
return { success => 0, message => 'INSUFFICIENT_FUNDS' };
return { success => 0, error => 'Insufficient funds' };
}

if ( $print_job->type eq 'cups' ) {
Expand Down

0 comments on commit 87a6c79

Please sign in to comment.