mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-19 22:28:45 +05:00
Update storage_mongo_datadb.go
This commit is contained in:
@@ -1476,7 +1476,6 @@ func (ms *MongoStorage) SetActionTriggers(key string, atrs ActionTriggers, trans
|
||||
if len(atrs) == 0 {
|
||||
err = col.Remove(bson.M{"key": key}) // delete the key
|
||||
if err != mgo.ErrNotFound {
|
||||
err = utils.ErrNotFound
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user