From c9f5d5466d66d800febc7e6b64c8102a5fea1fb3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E2=98=99=E2=97=A6=20The=20Tablet=20=E2=9D=80=20GamerGirla?=
 =?UTF-8?q?ndCo=20=E2=97=A6=E2=9D=A7?= <i.am.the.tablet@proton.me>
Date: Wed, 6 Dec 2023 21:46:33 -0500
Subject: [PATCH] fix(api): populate user's favourite stories' bands

---
 server/api/user/[id]/index.get.ts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/server/api/user/[id]/index.get.ts b/server/api/user/[id]/index.get.ts
index 78e8501..4d13231 100644
--- a/server/api/user/[id]/index.get.ts
+++ b/server/api/user/[id]/index.get.ts
@@ -18,6 +18,7 @@ export default cachedEventHandler(async (ev) => {
 			path: "favs.stories",
 			populate: [
 				{ path: "author", select: "username _id" },
+				{ path: "chapters.bands" },
 				{
 					path: "ficmas",
 					model: Ficmas,