test(sharing): drive the composition PUT through the manage matrix

This commit is contained in:
Marc-André Bombeck committed 2026-10-16 00:17:11 +02:00
1 parent fb3fbd5860
commit b35da281aa
1 file changed
+1
@@ -2213,6 +2213,7 @@ proveManageRoute("POST /api/medications/[id]/glp1", {
proveManageRoute("PUT /api/medications/[id]/ingredients", {
route: "/api/medications/[id]/ingredients",
action: "PUT",
prepare: async (ownerId) => {
// The composition lives behind the opt-in nutrients module.
await getPrismaClient().user.update({