From 03c53211ad234f7fd4428b5f17dc4b8fc91808d0 Mon Sep 17 00:00:00 2001 From: mm Date: Mon, 21 Oct 2024 16:46:54 +0500 Subject: [PATCH] dev --- internal/model/sql/query.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/model/sql/query.go b/internal/model/sql/query.go index 2c32562..31e33b8 100644 --- a/internal/model/sql/query.go +++ b/internal/model/sql/query.go @@ -76,6 +76,6 @@ WHERE streamer_id = (@streamer_id); ` var AddAmountToTarget = ` UPDATE targets -SET amount = amount + (@amount) +SET collected = collected + (@amount) WHERE id = (@target_id); `