This commit is contained in:
Minh Nguyen 2022-03-25 16:01:19 +07:00
parent 2fa70e4310
commit f3b9bb24f2
1 changed files with 5 additions and 4 deletions

View File

@ -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)
}
}
}