diff --git a/src/commondao/common.dao.ts b/src/commondao/common.dao.ts index dfc519d..90e2be9 100644 --- a/src/commondao/common.dao.ts +++ b/src/commondao/common.dao.ts @@ -612,7 +612,7 @@ export class CommonDao { * Similar to `save` with skipIfEquals. * Similar to `patch`, but doesn't load the object from the Database. */ - async savePatch(bm: BM, patch: Partial, opt: CommonDaoSaveBatchOptions): Promise { + async savePatch(bm: BM, patch: Partial, opt?: CommonDaoSaveBatchOptions): Promise { const patched: BM = { ...bm, ...patch,