refactor(server): use @nestjs-cls/transactional to impl database transaction (#9759)

This commit is contained in:
fengmk2
2025-01-21 06:43:29 +00:00
parent 07c32d016d
commit 90b4dc5c00
8 changed files with 180 additions and 132 deletions

View File

@@ -326,7 +326,7 @@ test('should grant member with read permission and Pending status by default', a
t.true(
updatedSpy.calledOnceWith({
workspaceId: workspace.id,
count: 2,
count: 1,
})
);
});