Skip to content

Commit

Permalink
fix Json serialization for SheetDocument
Browse files Browse the repository at this point in the history
  • Loading branch information
boscohyun committed Sep 30, 2024
1 parent 40d01ce commit ba0b5a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Mimir.Worker/Services/MongoDbService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ private async Task<UpdateOneModel<BsonDocument>> GetSheetDocumentUpdateModelAsyn
null,
cancellationToken);

var json = document.ToJson();
var json = MimirBsonDocumentExtensions.ToJson(document);
var bsonDocument = BsonDocument.Parse(json);
var stateBsonDocument = bsonDocument.AsBsonDocument;
stateBsonDocument.Remove("RawState");
Expand Down

0 comments on commit ba0b5a9

Please sign in to comment.