Commit e7a835a0 authored by 陈家荣's avatar 陈家荣

2222

parent 1fd82056
...@@ -11,6 +11,7 @@ exports.createOrUpdateLimitActionRef=function(conditions,entity,callback){ ...@@ -11,6 +11,7 @@ exports.createOrUpdateLimitActionRef=function(conditions,entity,callback){
limit_actions: entity.limit_actions limit_actions: entity.limit_actions
}, function(err, doc) { }, function(err, doc) {
if (err) { if (err) {
console.log(err);
callback(err, null); callback(err, null);
} else { } else {
if(!doc){ if(!doc){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment