A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
fix: make avatars public
Mohamed Bassemf7d346279065
diff --git a/packages/trpc/models/assets.ts b/packages/trpc/models/assets.tsindex 98b89594..ad114341 100644--- a/packages/trpc/models/assets.ts+++ b/packages/trpc/models/assets.ts@@ -224,6 +224,11 @@ export class Asset {return true;}+ // Avatars are always public+ if (this.asset.assetType === "avatar") {+ return true;+ }+// If asset is attached to a bookmark, check bookmark access permissionsif (this.asset.bookmarkId) {try {