From 87a6c79b177e6d93150448218c446c4e9704c58e Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Fri, 15 Sep 2023 14:16:23 -0400 Subject: [PATCH] Fix the return value for insufficient funds --- lib/Libki/Utils/Printing.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Libki/Utils/Printing.pm b/lib/Libki/Utils/Printing.pm index 7b161709..f825d8d3 100644 --- a/lib/Libki/Utils/Printing.pm +++ b/lib/Libki/Utils/Printing.pm @@ -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' ) {