From 712b055518564353f0db7a4a2c97817e42431be1 Mon Sep 17 00:00:00 2001 From: gsd Date: Tue, 4 Feb 2025 18:52:23 +0300 Subject: [PATCH] kamaz fix --- src/main/java/app/services/db/PermitionService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/app/services/db/PermitionService.java b/src/main/java/app/services/db/PermitionService.java index f41e7f1..133b1e6 100644 --- a/src/main/java/app/services/db/PermitionService.java +++ b/src/main/java/app/services/db/PermitionService.java @@ -49,7 +49,7 @@ public class PermitionService { } public int extendPermition(SteamID steamID, Integer amount, String status) { - return jdbcTemplate.update("UPDATE sm_admins SET amount=amount+?, reg_date=reg_date WHERE identity LIKE ? AND status LIKE ?", + return jdbcTemplate.update("UPDATE sm_admins SET amount=amount+? WHERE identity LIKE ? AND status LIKE ?", amount, steamID.steam2, status); }