Merge pull request #18 from Selly-Modules/develop

rerun
This commit is contained in:
Minh Nguyen 2022-03-25 16:01:51 +07:00 committed by GitHub
commit 931492666f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)
}
}
}