From 01fcebd2c446215c7dcc483456841cfd2a94d3bf Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Fri, 19 Jul 2024 23:33:43 +0300 Subject: [PATCH] Give manager when joining a group via link Closes #1804 --- app/features/sendouq/routes/q.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/app/features/sendouq/routes/q.tsx b/app/features/sendouq/routes/q.tsx index 3ab6b86b9..1e3e60e0b 100644 --- a/app/features/sendouq/routes/q.tsx +++ b/app/features/sendouq/routes/q.tsx @@ -136,6 +136,7 @@ export const action: ActionFunction = async ({ request }) => { addMember({ groupId: groupInvitedTo.id, userId: user.id, + role: "MANAGER", }); deleteLikesByGroupId(groupInvitedTo.id);