diff options
author | Cedric Zwahlen <cedric.zwahlen@students.bfh.ch> | 2024-04-16 18:54:24 +0200 |
---|---|---|
committer | Cedric Zwahlen <cedric.zwahlen@students.bfh.ch> | 2024-04-19 20:47:34 +0200 |
commit | ba725b627efe5d5a6b4131898c7ee643fce85380 (patch) | |
tree | 01aad63c0e7a12f37e026fc64d1fc8f839fda5ce /src/auditor/taler-auditor-httpd_denomination-key-validity-withdraw-inconsistency-upd.c | |
parent | 962bcbc6a6bd10f3bbe80766278c36b02f53c7e4 (diff) | |
download | exchange-ba725b627efe5d5a6b4131898c7ee643fce85380.tar.gz exchange-ba725b627efe5d5a6b4131898c7ee643fce85380.tar.bz2 exchange-ba725b627efe5d5a6b4131898c7ee643fce85380.zip |
Fix various CRUD bugs
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.c | 13 |
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 |