From f3b9bb24f24252fcaf5490bec6683a01d32b4027 Mon Sep 17 00:00:00 2001 From: Minh Nguyen Date: Fri, 25 Mar 2022 16:01:19 +0700 Subject: [PATCH] rerun --- sync_to_service.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/sync_to_service.go b/sync_to_service.go index 5566d2a..4996c6e 100644 --- a/sync_to_service.go +++ b/sync_to_service.go @@ -1,6 +1,7 @@ package appier import ( + "context" "fmt" "github.com/Selly-Modules/redisdb" @@ -47,10 +48,10 @@ func handleSyncDataToServiceAppier(pattern string, typeData string) { processSyncToServiceAppier(typeData, values) - //// Del keys - //for _, key := range keys { - // redisdb.DelKey(context.Background(), key) - //} + // Del keys + for _, key := range keys { + redisdb.DelKey(context.Background(), key) + } } } -- 2.34.1