summaryrefslogtreecommitdiff
path: root/src/auditor/taler-auditor-httpd_denomination-key-validity-withdraw-inconsistency-upd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/auditor/taler-auditor-httpd_denomination-key-validity-withdraw-inconsistency-upd.c')
-rw-r--r--src/auditor/taler-auditor-httpd_denomination-key-validity-withdraw-inconsistency-upd.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/auditor/taler-auditor-httpd_denomination-key-validity-withdraw-inconsistency-upd.c b/src/auditor/taler-auditor-httpd_denomination-key-validity-withdraw-inconsistency-upd.c
index 9ff522b8e..73378f574 100644
--- a/src/auditor/taler-auditor-httpd_denomination-key-validity-withdraw-inconsistency-upd.c
+++ b/src/auditor/taler-auditor-httpd_denomination-key-validity-withdraw-inconsistency-upd.c
@@ -1,6 +1,3 @@
-
-
-
/*
This file is part of TALER
Copyright (C) 2024 Taler Systems SA
@@ -27,7 +24,8 @@
#include "taler_json_lib.h"
#include "taler_mhd_lib.h"
#include "taler-auditor-httpd.h"
-#include "taler-auditor-httpd_denomination-key-validity-withdraw-inconsistency-upd.h"
+#include \
+ "taler-auditor-httpd_denomination-key-validity-withdraw-inconsistency-upd.h"
MHD_RESULT
TAH_DENOMINATION_KEY_VALIDITY_WITHDRAW_INCONSISTENCY_handler_update (
@@ -95,7 +93,8 @@ TAH_DENOMINATION_KEY_VALIDITY_WITHDRAW_INCONSISTENCY_handler_update (
}
/* execute transaction */
- qs = TAH_plugin->update_denomination_key_validity_withdraw_inconsistency (TAH_plugin->cls, &gu);
+ qs = TAH_plugin->update_denomination_key_validity_withdraw_inconsistency (
+ TAH_plugin->cls, &gu);
GNUNET_JSON_parse_free (spec);
json_decref (json);
@@ -121,7 +120,7 @@ TAH_DENOMINATION_KEY_VALIDITY_WITHDRAW_INCONSISTENCY_handler_update (
case GNUNET_DB_STATUS_SUCCESS_NO_RESULTS:
return TALER_MHD_reply_with_error (connection,
MHD_HTTP_NOT_FOUND,
- TALER_EC_MERCHANT_GENERIC_ACCOUNT_UNKNOWN,
+ TALER_EC_AUDITOR_RESOURCE_NOT_FOUND,
"no updates executed");
break;
case GNUNET_DB_STATUS_SUCCESS_ONE_RESULT:
@@ -135,5 +134,3 @@ TAH_DENOMINATION_KEY_VALIDITY_WITHDRAW_INCONSISTENCY_handler_update (
return ret;
}
-
- \ No newline at end of file