mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-21 14:19:49 +08:00
Merge pull request #461 in YUNIONIO/onecloud from ~LIZEXI/onecloud:hotfix/lzx-batch-create-data to release/2.1.0
* commit '160c48719c32a58b352f03fedf89e23ca22a8154': fix: region 批量创建 data 不正确
This commit is contained in:
@@ -856,7 +856,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