Commit b1194462 authored by nanahira's avatar nanahira

fix

parent 385b357c
......@@ -52,7 +52,7 @@ export class CrudBase<
async batchCreate(
ents: T[],
beforeCreate?: (repo: Repository<T>) => void,
beforeCreate?: (repo: Repository<T>) => Promise<void>,
skipErrors = false,
) {
const entsWithId = ents.filter((ent) => ent.id != null);
......
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