There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
fix(server): move avatar attachment before setting cid reference (#11231)
fengmk24d6115bb0068
diff --git a/packages/backend/server/src/core/mail/job.ts b/packages/backend/server/src/core/mail/job.tsindex 61317081a1..aa99ca6f0e 100644--- a/packages/backend/server/src/core/mail/job.ts+++ b/packages/backend/server/src/core/mail/job.ts@@ -67,7 +67,6 @@ export class MailJob {}if (workspaceProps.avatar) {- workspaceProps.avatar = 'cid:workspaceAvatar';options.attachments = [{cid: 'workspaceAvatar',@@ -76,6 +75,7 @@ export class MailJob {encoding: 'base64',},];+ workspaceProps.avatar = 'cid:workspaceAvatar';}// @ts-expect-error replacementprops[key] = workspaceProps;