From b2134643457de22181264353b828cb7c4e83c9f0 Mon Sep 17 00:00:00 2001 From: dev02 Date: Wed, 4 Jan 2023 16:24:11 +0800 Subject: [PATCH] fix problem --- FrontendWebApi/ApiControllers/UserController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FrontendWebApi/ApiControllers/UserController.cs b/FrontendWebApi/ApiControllers/UserController.cs index 8da4553..7605e3d 100644 --- a/FrontendWebApi/ApiControllers/UserController.cs +++ b/FrontendWebApi/ApiControllers/UserController.cs @@ -923,7 +923,7 @@ namespace FrontendWebApi.ApiControllers try { - await backendRepository.ExecuteSql("update userinfo deleted = 1 where deleted = 0"); + await backendRepository.ExecuteSql("update userinfo set deleted = 1 where deleted = 0"); if (post != null) {