diff --git a/Server side with distributed cache/ASP.NET Core/Using Redis/Controllers/CollaborativeEditingController.cs b/Server side with distributed cache/ASP.NET Core/Using Redis/Controllers/CollaborativeEditingController.cs index 065e0d2..e283838 100644 --- a/Server side with distributed cache/ASP.NET Core/Using Redis/Controllers/CollaborativeEditingController.cs +++ b/Server side with distributed cache/ASP.NET Core/Using Redis/Controllers/CollaborativeEditingController.cs @@ -49,7 +49,7 @@ public async Task ImportFile([FromBody] WebApplication1.Model.FileInfo p // We can modify the code to retrieve the document from a different location or source. Syncfusion.EJ2.DocumentEditor.WordDocument document = GetSourceDocument(); // Get the list of pending operations for the document - List actions = await GetPendingOperations(param.fileName, 0, -1); + List actions = await GetPendingOperations(param.roomName, 0, -1); if (actions != null && actions.Count > 0) { // If there are any pending actions, update the document with these actions diff --git a/Server side with distributed cache/ASP.NET Core/Using Redis/Model/CollaborativeEditingHelper.cs b/Server side with distributed cache/ASP.NET Core/Using Redis/Model/CollaborativeEditingHelper.cs index 157b6d0..05dfde8 100644 --- a/Server side with distributed cache/ASP.NET Core/Using Redis/Model/CollaborativeEditingHelper.cs +++ b/Server side with distributed cache/ASP.NET Core/Using Redis/Model/CollaborativeEditingHelper.cs @@ -171,7 +171,7 @@ public string fileName get; set; } - public string documentOwner + public string roomName { get; set;