diff --git a/pkg/cloudcommon/db/db_dispatcher.go b/pkg/cloudcommon/db/db_dispatcher.go index 898f60673f..007a340b6e 100644 --- a/pkg/cloudcommon/db/db_dispatcher.go +++ b/pkg/cloudcommon/db/db_dispatcher.go @@ -858,7 +858,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 }