Skip to content

Commit

Permalink
Merge pull request #355 from planetarium/fix-json-serialization-for-s…
Browse files Browse the repository at this point in the history
…heet-document

fix: Json serialization for `SheetDocument`
  • Loading branch information
boscohyun authored Sep 30, 2024
2 parents 40d01ce + ba0b5a9 commit d5a3f55
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 d5a3f55

Please sign in to comment.