fix: updateData isReplace -> replace

This commit is contained in:
buyuxiang
2023-11-30 19:22:02 +08:00
parent 9f82180364
commit 95fa434d2c
3 changed files with 13 additions and 4 deletions
+2 -2
View File
@@ -300,8 +300,8 @@ func (o *ActionOptions) updateData(data map[string]interface{}) {
data["frequency"] = 60 // default frequency
}
if _, ok := data["isReplace"]; !ok {
data["isReplace"] = true // default true
if _, ok := data["replace"]; !ok {
data["replace"] = true // default true
}
// custom options