From 6a4f15df5c3899c1441716f2727243c33fae9d1e Mon Sep 17 00:00:00 2001 From: Niklas Halle Date: Sun, 11 Feb 2024 11:29:31 +0100 Subject: don't have the route as part of the url --- update_mensa.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update_mensa.sh b/update_mensa.sh index 6719f2a..8c44fc7 100755 --- a/update_mensa.sh +++ b/update_mensa.sh @@ -152,7 +152,7 @@ combined_data=$(combine_data "$DATA1" "$DATA2") create_firefly_transaction() { local transaction_data="$1" - curl -X POST "$FF3URL" \ + curl -X POST "$FF3URL/api/v1/transactions" \ -H 'accept: application/vnd.api+json' \ -H "Authorization: Bearer $FF3PAT" \ -H 'Content-Type: application/json' \ -- cgit v1.2.3-54-g00ecf