chore: Remove reliance on Markdown for document.getSummary, towards #3000

This commit is contained in:
Tom Moor
2022-12-30 15:14:59 -05:00
parent 0f489d54c3
commit b29a9fbeee
5 changed files with 10 additions and 17 deletions

View File

@@ -5,9 +5,7 @@ import { can } from "@server/policies";
import { getUserForJWT } from "@server/utils/jwt";
import { AuthenticationError } from "../errors";
@APM.trace({
spanName: "authentication",
})
@APM.trace()
export default class AuthenticationExtension implements Extension {
async onAuthenticate({
connection,

View File

@@ -12,9 +12,7 @@ import Document from "@server/models/Document";
import documentCollaborativeUpdater from "../commands/documentCollaborativeUpdater";
import markdownToYDoc from "./utils/markdownToYDoc";
@APM.trace({
spanName: "persistence",
})
@APM.trace()
export default class PersistenceExtension implements Extension {
/**
* Map of documentId -> userIds that have modified the document since it