mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-21 14:19:49 +08:00
Automatic merge from release/2.2.0 -> release/2.3.0
* commit '0b41ec34c91101f3afebe8beb001c93ff0844a8b': fix: region 批量创建 data 不正确
This commit is contained in:
@@ -952,7 +952,7 @@ func (dispatcher *DBModelDispatcher) BatchCreate(ctx context.Context, query json
|
||||
results[i] = result
|
||||
}
|
||||
if len(models) > 0 {
|
||||
dispatcher.modelManager.OnCreateComplete(ctx, models, userCred, query, data)
|
||||
dispatcher.modelManager.OnCreateComplete(ctx, models, userCred, query, multiData[0])
|
||||
}
|
||||
return results, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user