mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
test(sharing): drive the composition PUT through the manage matrix
This commit is contained in:
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({
|
||||
|
||||
Reference in new issue
Block a user