diff --git a/packages/data-service/src/data-service.ts b/packages/data-service/src/data-service.ts index 856a404f436..f389b72bdbf 100644 --- a/packages/data-service/src/data-service.ts +++ b/packages/data-service/src/data-service.ts @@ -2179,9 +2179,7 @@ class DataServiceImpl extends WithLogContext implements DataService { return this._collection(ns, 'CRUD').bulkWrite(operations, options); } - @op(mongoLogId(1_001_000_053), (_, result) => { - return result ? { result } : undefined; - }) + @op(mongoLogId(1_001_000_053)) async currentOp(): Promise<{ inprog: Document[] }> { const db = this._database('admin', 'META'); const pipelineWithTruncateOps: Document[] = [