upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/main/tollgate_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/tollgate_api.c')
-rw-r--r--main/tollgate_api.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/tollgate_api.c b/main/tollgate_api.c
index 650b0f3..7ddfb9e 100644
--- a/main/tollgate_api.c
+++ b/main/tollgate_api.c
@@ -4,6 +4,7 @@
4#include "session.h" 4#include "session.h"
5#include "firewall.h" 5#include "firewall.h"
6#include "nucula_wallet.h" 6#include "nucula_wallet.h"
7#include "display.h"
7#include "esp_log.h" 8#include "esp_log.h"
8#include "cJSON.h" 9#include "cJSON.h"
9#include "lwip/sockets.h" 10#include "lwip/sockets.h"
@@ -313,6 +314,8 @@ static esp_err_t api_post_payment(httpd_req_t *req)
313 314
314 nucula_wallet_receive(body_copy); 315 nucula_wallet_receive(body_copy);
315 316
317 display_notify_payment(token->total_amount, allotment);
318
316 free(states); 319 free(states);
317 free(token); 320 free(token);
318 return ESP_OK; 321 return ESP_OK;