Skip to content

Commit bf387e2

Browse files
committed
fix(workspaces): isolate batch mutation ids
1 parent 8b4239c commit bf387e2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/features/workspaces/operations/create-items.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ export async function createWorkspaceItemsOperation(
154154
onNameConflict: "error",
155155
initialContent: initialContent.content,
156156
actorUserId: accessContext.actor.userId,
157-
clientMutationId: accessContext.operationId,
157+
clientMutationId: `${accessContext.operationId}:${index}`,
158158
});
159159
} catch (error) {
160160
if (error instanceof WorkspaceKernelNameConflictError) {

0 commit comments

Comments
 (0)