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): default workspace avatar size (#10229)
forehaloa303455ded13
diff --git a/packages/backend/server/src/__tests__/__snapshots__/mailer.spec.ts.md b/packages/backend/server/src/__tests__/__snapshots__/mailer.spec.ts.mdindex 6119f6c2f7..171a78b8a4 100644--- a/packages/backend/server/src/__tests__/__snapshots__/mailer.spec.ts.md+++ b/packages/backend/server/src/__tests__/__snapshots__/mailer.spec.ts.md@@ -235,7 +235,10 @@ Generated by [AVA](https://avajs.dev).> Your request to join Test Workspace has been approved`<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">␊- <!--$-->␊+ <link␊+ rel="preload"␊+ as="image"␊+ href="https://app.affine.pro/favicon-192.png" /><!--$-->␊<table␊align="center"␊width="100%"␊@@ -267,9 +270,15 @@ Generated by [AVA](https://avajs.dev).<p␊style="font-size:15px;line-height:24px;margin:24px 0 0;font-weight:400;font-family:Inter, Arial, Helvetica, sans-serif;color:#141414">␊Your request to join␊- <span style="font-weight:600">Test Workspace</span> has been accepted.␊- You can now access the team workspace and collaborate with other␊- members.␊+ <img␊+ src="https://app.affine.pro/favicon-192.png"␊+ alt="avatar"␊+ style="width:20px;height:20px;border-radius:12px;object-fit:cover;vertical-align:middle" /><span␊+ style="font-weight:600"␊+ >Test Workspace</span␊+ >␊+ has been accepted. You can now access the team workspace and␊+ collaborate with other members.␊</p>␊</td>␊</tr>␊@@ -281,7 +290,10 @@ Generated by [AVA](https://avajs.dev).> Your request to join Test Workspace was declined`<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">␊- <!--$-->␊+ <link␊+ rel="preload"␊+ as="image"␊+ href="https://app.affine.pro/favicon-192.png" /><!--$-->␊<table␊align="center"␊width="100%"␊@@ -313,8 +325,14 @@ Generated by [AVA](https://avajs.dev).<p␊style="font-size:15px;line-height:24px;margin:24px 0 0;font-weight:400;font-family:Inter, Arial, Helvetica, sans-serif;color:#141414">␊Your request to join␊- <span style="font-weight:600">Test Workspace</span> has been declined␊- by the workspace admin.␊+ <img␊+ src="https://app.affine.pro/favicon-192.png"␊+ alt="avatar"␊+ style="width:20px;height:20px;border-radius:12px;object-fit:cover;vertical-align:middle" /><span␊+ style="font-weight:600"␊+ >Test Workspace</span␊+ >␊+ has been declined by the workspace admin.␊</p>␊</td>␊</tr>␊@@ -326,7 +344,10 @@ Generated by [AVA](https://avajs.dev).> New request to join Test Workspace`<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">␊- <!--$-->␊+ <link␊+ rel="preload"␊+ as="image"␊+ href="https://app.affine.pro/favicon-192.png" /><!--$-->␊<table␊align="center"␊width="100%"␊@@ -339,7 +360,14 @@ Generated by [AVA](https://avajs.dev).<td>␊<p␊style="font-size:20px;line-height:28px;margin:24px 0 0;font-weight:600;font-family:Inter, Arial, Helvetica, sans-serif;color:#141414">␊- Request to join <span style="font-weight:600">Test Workspace</span>␊+ Request to join␊+ <img␊+ src="https://app.affine.pro/favicon-192.png"␊+ alt="avatar"␊+ style="width:24px;height:24px;border-radius:12px;object-fit:cover;vertical-align:middle" /><span␊+ style="font-weight:600"␊+ >Test Workspace</span␊+ >␊</p>␊</td>␊</tr>␊@@ -368,8 +396,14 @@ Generated by [AVA](https://avajs.dev).style="font-size:15px;line-height:24px;margin:24px 0 0;font-weight:400;font-family:Inter, Arial, Helvetica, sans-serif;color:#141414">␊<span style="font-weight:600">[email protected]</span> has requested␊to join␊- <span style="font-weight:600">Test Workspace</span>.<br />As a␊- workspace owner/admin, you can approve or decline this request.␊+ <img␊+ src="https://app.affine.pro/favicon-192.png"␊+ alt="avatar"␊+ style="width:20px;height:20px;border-radius:12px;object-fit:cover;vertical-align:middle" /><span␊+ style="font-weight:600"␊+ >Test Workspace</span␊+ >.<br />As a workspace owner/admin, you can approve or decline␊+ this request.␊</p>␊</tr>␊</tbody>␊@@ -409,7 +443,10 @@ Generated by [AVA](https://avajs.dev).> [email protected] accepted your invitation`<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">␊- <!--$-->␊+ <link␊+ rel="preload"␊+ as="image"␊+ href="https://app.affine.pro/favicon-192.png" /><!--$-->␊<table␊align="center"␊width="100%"␊@@ -442,7 +479,13 @@ Generated by [AVA](https://avajs.dev).<p␊style="font-size:15px;line-height:24px;margin:24px 0 0;font-weight:400;font-family:Inter, Arial, Helvetica, sans-serif;color:#141414">␊<span style="font-weight:600">[email protected]</span> has joined␊- <span style="font-weight:600">Test Workspace</span>␊+ <img␊+ src="https://app.affine.pro/favicon-192.png"␊+ alt="avatar"␊+ style="width:20px;height:20px;border-radius:12px;object-fit:cover;vertical-align:middle" /><span␊+ style="font-weight:600"␊+ >Test Workspace</span␊+ >␊</p>␊</td>␊</tr>␊@@ -454,7 +497,10 @@ Generated by [AVA](https://avajs.dev).> [email protected] invited you to join Test Workspace`<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">␊- <!--$-->␊+ <link␊+ rel="preload"␊+ as="image"␊+ href="https://app.affine.pro/favicon-192.png" /><!--$-->␊<table␊align="center"␊width="100%"␊@@ -495,7 +541,14 @@ Generated by [AVA](https://avajs.dev).<p␊style="font-size:15px;line-height:24px;margin:24px 0 0;font-weight:400;font-family:Inter, Arial, Helvetica, sans-serif;color:#141414">␊<span style="font-weight:600">[email protected]</span> invited you␊- to join <span style="font-weight:600">Test Workspace</span>␊+ to join␊+ <img␊+ src="https://app.affine.pro/favicon-192.png"␊+ alt="avatar"␊+ style="width:20px;height:20px;border-radius:12px;object-fit:cover;vertical-align:middle" /><span␊+ style="font-weight:600"␊+ >Test Workspace</span␊+ >␊</p>␊</tr>␊</tbody>␊@@ -551,7 +604,10 @@ Generated by [AVA](https://avajs.dev).> [email protected] left Test Workspace`<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">␊- <!--$-->␊+ <link␊+ rel="preload"␊+ as="image"␊+ href="https://app.affine.pro/favicon-192.png" /><!--$-->␊<table␊align="center"␊width="100%"␊@@ -564,7 +620,14 @@ Generated by [AVA](https://avajs.dev).<td>␊<p␊style="font-size:20px;line-height:28px;margin:24px 0 0;font-weight:600;font-family:Inter, Arial, Helvetica, sans-serif;color:#141414">␊- Member left <span style="font-weight:600">Test Workspace</span>␊+ Member left␊+ <img␊+ src="https://app.affine.pro/favicon-192.png"␊+ alt="avatar"␊+ style="width:24px;height:24px;border-radius:12px;object-fit:cover;vertical-align:middle" /><span␊+ style="font-weight:600"␊+ >Test Workspace</span␊+ >␊</p>␊</td>␊</tr>␊@@ -583,7 +646,13 @@ Generated by [AVA](https://avajs.dev).<p␊style="font-size:15px;line-height:24px;margin:24px 0 0;font-weight:400;font-family:Inter, Arial, Helvetica, sans-serif;color:#141414">␊<span style="font-weight:600">[email protected]</span> has left workspace<!-- -->␊- <span style="font-weight:600">Test Workspace</span>␊+ <img␊+ src="https://app.affine.pro/favicon-192.png"␊+ alt="avatar"␊+ style="width:20px;height:20px;border-radius:12px;object-fit:cover;vertical-align:middle" /><span␊+ style="font-weight:600"␊+ >Test Workspace</span␊+ >␊</p>␊</td>␊</tr>␊@@ -595,7 +664,10 @@ Generated by [AVA](https://avajs.dev).> You have been removed from Test Workspace`<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">␊- <!--$-->␊+ <link␊+ rel="preload"␊+ as="image"␊+ href="https://app.affine.pro/favicon-192.png" /><!--$-->␊<table␊align="center"␊width="100%"␊@@ -627,8 +699,13 @@ Generated by [AVA](https://avajs.dev).<p␊style="font-size:15px;line-height:24px;margin:24px 0 0;font-weight:400;font-family:Inter, Arial, Helvetica, sans-serif;color:#141414">␊You have been removed from␊- <span style="font-weight:600">Test Workspace</span>. You no longer␊- have access to this workspace.␊+ <img␊+ src="https://app.affine.pro/favicon-192.png"␊+ alt="avatar"␊+ style="width:20px;height:20px;border-radius:12px;object-fit:cover;vertical-align:middle" /><span␊+ style="font-weight:600"␊+ >Test Workspace</span␊+ >. You no longer have access to this workspace.␊</p>␊</td>␊</tr>␊@@ -640,7 +717,10 @@ Generated by [AVA](https://avajs.dev).> You are now the owner of Test Workspace`<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">␊- <!--$-->␊+ <link␊+ rel="preload"␊+ as="image"␊+ href="https://app.affine.pro/favicon-192.png" /><!--$-->␊<table␊align="center"␊width="100%"␊@@ -671,7 +751,11 @@ Generated by [AVA](https://avajs.dev).<td>␊<p␊style="font-size:15px;line-height:24px;margin:24px 0 0;font-weight:400;font-family:Inter, Arial, Helvetica, sans-serif;color:#141414">␊- You have been assigned as the owner of<span style="font-weight:600"␊+ You have been assigned as the owner of<img␊+ src="https://app.affine.pro/favicon-192.png"␊+ alt="avatar"␊+ style="width:20px;height:20px;border-radius:12px;object-fit:cover;vertical-align:middle" /><span␊+ style="font-weight:600"␊>Test Workspace</span␊>. As a workspace owner, you have full control over this workspace.␊</p>␊@@ -685,7 +769,10 @@ Generated by [AVA](https://avajs.dev).> Your ownership of Test Workspace has been transferred`<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">␊- <!--$-->␊+ <link␊+ rel="preload"␊+ as="image"␊+ href="https://app.affine.pro/favicon-192.png" /><!--$-->␊<table␊align="center"␊width="100%"␊@@ -717,8 +804,13 @@ Generated by [AVA](https://avajs.dev).<p␊style="font-size:15px;line-height:24px;margin:24px 0 0;font-weight:400;font-family:Inter, Arial, Helvetica, sans-serif;color:#141414">␊You have transferred ownership of␊- <span style="font-weight:600">Test Workspace</span>. You are now a␊- collaborator in this workspace.␊+ <img␊+ src="https://app.affine.pro/favicon-192.png"␊+ alt="avatar"␊+ style="width:20px;height:20px;border-radius:12px;object-fit:cover;vertical-align:middle" /><span␊+ style="font-weight:600"␊+ >Test Workspace</span␊+ >. You are now a collaborator in this workspace.␊</p>␊</td>␊</tr>␊@@ -1075,7 +1167,10 @@ Generated by [AVA](https://avajs.dev).> You are now an admin of Test Workspace`<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">␊- <!--$-->␊+ <link␊+ rel="preload"␊+ as="image"␊+ href="https://app.affine.pro/favicon-192.png" /><!--$-->␊<table␊align="center"␊width="100%"␊@@ -1116,9 +1211,14 @@ Generated by [AVA](https://avajs.dev).<p␊style="font-size:15px;line-height:24px;margin:24px 0 0;font-weight:400;font-family:Inter, Arial, Helvetica, sans-serif;color:#141414">␊You have been promoted to admin of␊- <span style="font-weight:600">Test Workspace</span>. As an␊- admin, you can help the workspace owner manage members in this␊- workspace.␊+ <img␊+ src="https://app.affine.pro/favicon-192.png"␊+ alt="avatar"␊+ style="width:20px;height:20px;border-radius:12px;object-fit:cover;vertical-align:middle" /><span␊+ style="font-weight:600"␊+ >Test Workspace</span␊+ >. As an admin, you can help the workspace owner manage members␊+ in this workspace.␊</p>␊</tr>␊</tbody>␊@@ -1158,7 +1258,10 @@ Generated by [AVA](https://avajs.dev).> Your role has been changed in Test Workspace`<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">␊- <!--$-->␊+ <link␊+ rel="preload"␊+ as="image"␊+ href="https://app.affine.pro/favicon-192.png" /><!--$-->␊<table␊align="center"␊width="100%"␊@@ -1199,8 +1302,14 @@ Generated by [AVA](https://avajs.dev).<p␊style="font-size:15px;line-height:24px;margin:24px 0 0;font-weight:400;font-family:Inter, Arial, Helvetica, sans-serif;color:#141414">␊Your role in␊- <span style="font-weight:600">Test Workspace</span> has been␊- changed to<!-- -->␊+ <img␊+ src="https://app.affine.pro/favicon-192.png"␊+ alt="avatar"␊+ style="width:20px;height:20px;border-radius:12px;object-fit:cover;vertical-align:middle" /><span␊+ style="font-weight:600"␊+ >Test Workspace</span␊+ >␊+ has been changed to<!-- -->␊<!-- -->collaborator. You can continue to collaborate in this␊workspace.␊</p>␊@@ -1242,7 +1351,10 @@ Generated by [AVA](https://avajs.dev).> [Action Required] Important: Your workspace Test Workspace will be deleted soon`<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">␊- <!--$-->␊+ <link␊+ rel="preload"␊+ as="image"␊+ href="https://app.affine.pro/favicon-192.png" /><!--$-->␊<table␊align="center"␊width="100%"␊@@ -1282,8 +1394,15 @@ Generated by [AVA](https://avajs.dev).<tr style="width:100%">␊<p␊style="font-size:15px;line-height:24px;margin:24px 0 0;font-weight:400;font-family:Inter, Arial, Helvetica, sans-serif;color:#141414">␊- Your <span style="font-weight:600">Test Workspace</span> team␊- workspace expired on<!-- -->␊+ Your␊+ <img␊+ src="https://app.affine.pro/favicon-192.png"␊+ alt="avatar"␊+ style="width:20px;height:20px;border-radius:12px;object-fit:cover;vertical-align:middle" /><span␊+ style="font-weight:600"␊+ >Test Workspace</span␊+ >␊+ team workspace expired on<!-- -->␊<span style="font-weight:600">1/1/2025</span>. All workspace␊data will be permanently deleted on<!-- -->␊<span style="font-weight:600">1/31/2025</span> (180 days after␊@@ -1340,7 +1459,10 @@ Generated by [AVA](https://avajs.dev).> [Action Required] Final warning: Your workspace Test Workspace will be deleted in 24 hours`<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">␊- <!--$-->␊+ <link␊+ rel="preload"␊+ as="image"␊+ href="https://app.affine.pro/favicon-192.png" /><!--$-->␊<table␊align="center"␊width="100%"␊@@ -1380,8 +1502,15 @@ Generated by [AVA](https://avajs.dev).<tr style="width:100%">␊<p␊style="font-size:15px;line-height:24px;margin:24px 0 0;font-weight:400;font-family:Inter, Arial, Helvetica, sans-serif;color:#141414">␊- Your <span style="font-weight:600">Test Workspace</span> team␊- workspace data will be permanently deleted in 24 hours on<!-- -->␊+ Your␊+ <img␊+ src="https://app.affine.pro/favicon-192.png"␊+ alt="avatar"␊+ style="width:20px;height:20px;border-radius:12px;object-fit:cover;vertical-align:middle" /><span␊+ style="font-weight:600"␊+ >Test Workspace</span␊+ >␊+ team workspace data will be permanently deleted in 24 hours on<!-- -->␊<span style="font-weight:600">1/31/2025</span>. To prevent data␊loss, please take immediate action:␊<li>␊@@ -1510,7 +1639,10 @@ Generated by [AVA](https://avajs.dev).> Your workspace Test Workspace has been deleted`<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">␊- <!--$-->␊+ <link␊+ rel="preload"␊+ as="image"␊+ href="https://app.affine.pro/favicon-192.png" /><!--$-->␊<table␊align="center"␊width="100%"␊@@ -1551,9 +1683,15 @@ Generated by [AVA](https://avajs.dev).<p␊style="font-size:15px;line-height:24px;margin:24px 0 0;font-weight:400;font-family:Inter, Arial, Helvetica, sans-serif;color:#141414">␊All data in␊- <span style="font-weight:600">Test Workspace</span> has been␊- permanently deleted as the workspace remained expired for 180␊- days. This action cannot be undone.␊+ <img␊+ src="https://app.affine.pro/favicon-192.png"␊+ alt="avatar"␊+ style="width:20px;height:20px;border-radius:12px;object-fit:cover;vertical-align:middle" /><span␊+ style="font-weight:600"␊+ >Test Workspace</span␊+ >␊+ has been permanently deleted as the workspace remained expired␊+ for 180 days. This action cannot be undone.␊</p>␊</tr>␊</tbody>␊@@ -1585,7 +1723,10 @@ Generated by [AVA](https://avajs.dev).> [Action Required] Your Test Workspace team workspace will expire soon`<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">␊- <!--$-->␊+ <link␊+ rel="preload"␊+ as="image"␊+ href="https://app.affine.pro/favicon-192.png" /><!--$-->␊<table␊align="center"␊width="100%"␊@@ -1625,8 +1766,15 @@ Generated by [AVA](https://avajs.dev).<tr style="width:100%">␊<p␊style="font-size:15px;line-height:24px;margin:24px 0 0;font-weight:400;font-family:Inter, Arial, Helvetica, sans-serif;color:#141414">␊- Your <span style="font-weight:600">Test Workspace</span> team␊- workspace will expire on<!-- -->␊+ Your␊+ <img␊+ src="https://app.affine.pro/favicon-192.png"␊+ alt="avatar"␊+ style="width:20px;height:20px;border-radius:12px;object-fit:cover;vertical-align:middle" /><span␊+ style="font-weight:600"␊+ >Test Workspace</span␊+ >␊+ team workspace will expire on<!-- -->␊<span style="font-weight:600">1/1/2025</span>. After expiration,␊you won't be able to sync or collaborate with team members.␊Please renew your subscription to continue using all team␊@@ -1670,7 +1818,10 @@ Generated by [AVA](https://avajs.dev).> Your Test Workspace team workspace has expired`<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">␊- <!--$-->␊+ <link␊+ rel="preload"␊+ as="image"␊+ href="https://app.affine.pro/favicon-192.png" /><!--$-->␊<table␊align="center"␊width="100%"␊@@ -1710,8 +1861,15 @@ Generated by [AVA](https://avajs.dev).<tr style="width:100%">␊<p␊style="font-size:15px;line-height:24px;margin:24px 0 0;font-weight:400;font-family:Inter, Arial, Helvetica, sans-serif;color:#141414">␊- Your <span style="font-weight:600">Test Workspace</span> team␊- workspace expired on<!-- -->␊+ Your␊+ <img␊+ src="https://app.affine.pro/favicon-192.png"␊+ alt="avatar"␊+ style="width:20px;height:20px;border-radius:12px;object-fit:cover;vertical-align:middle" /><span␊+ style="font-weight:600"␊+ >Test Workspace</span␊+ >␊+ team workspace expired on<!-- -->␊<span style="font-weight:600">1/1/2025</span>. Your workspace␊can't sync or collaborate with team members. Please renew␊your subscription to restore all team features.␊@@ -1754,7 +1912,10 @@ Generated by [AVA](https://avajs.dev).> Your workspace has been upgraded to team workspace! 🎉`<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">␊- <!--$-->␊+ <link␊+ rel="preload"␊+ as="image"␊+ href="https://app.affine.pro/favicon-192.png" /><!--$-->␊<table␊align="center"␊width="100%"␊@@ -1794,8 +1955,15 @@ Generated by [AVA](https://avajs.dev).<tr style="width:100%">␊<p␊style="font-size:15px;line-height:24px;margin:24px 0 0;font-weight:400;font-family:Inter, Arial, Helvetica, sans-serif;color:#141414">␊- <span style="font-weight:600">Test Workspace</span> has been␊- upgraded to team workspace with the following benefits:<br />␊+ <img␊+ src="https://app.affine.pro/favicon-192.png"␊+ alt="avatar"␊+ style="width:20px;height:20px;border-radius:12px;object-fit:cover;vertical-align:middle" /><span␊+ style="font-weight:600"␊+ >Test Workspace</span␊+ >␊+ has been upgraded to team workspace with the following␊+ benefits:<br />␊✓ 100 GB initial storage + 20 GB per seat<br />␊✓ 500 MB of maximum file size<br />␊✓ Unlimited team members (10+ seats)<br />␊diff --git a/packages/backend/server/src/__tests__/__snapshots__/mailer.spec.ts.snap b/packages/backend/server/src/__tests__/__snapshots__/mailer.spec.ts.snapindex cece7998e8..de44f7bd0e 100644Binary files a/packages/backend/server/src/__tests__/__snapshots__/mailer.spec.ts.snap and b/packages/backend/server/src/__tests__/__snapshots__/mailer.spec.ts.snap differdiff --git a/packages/backend/server/src/mails/common.ts b/packages/backend/server/src/mails/common.tsindex 0b274e2935..0f84e31a57 100644--- a/packages/backend/server/src/mails/common.ts+++ b/packages/backend/server/src/mails/common.ts@@ -7,4 +7,5 @@ export const TEST_USER: UserProps = {export const TEST_WORKSPACE: WorkspaceProps = {name: 'Test Workspace',+ avatar: 'https://app.affine.pro/favicon-192.png',};diff --git a/packages/backend/server/src/mails/components/workspace.tsx b/packages/backend/server/src/mails/components/workspace.tsxindex db4b154206..e5d9555e85 100644--- a/packages/backend/server/src/mails/components/workspace.tsx+++ b/packages/backend/server/src/mails/components/workspace.tsx@@ -11,8 +11,8 @@ export const Workspace = (props: WorkspaceProps) => {<AvatarWithNamename={props.name}img={props.avatar}- width={`${props.size}px`}- height={`${props.size}px`}+ width={`${props.size ?? 20}px`}+ height={`${props.size ?? 20}px`}/>);};