Give manager when joining a group via link Closes #1804

This commit is contained in:
Kalle
2024-07-19 23:33:43 +03:00
parent 8b4b87e466
commit 01fcebd2c4

View File

@@ -136,6 +136,7 @@ export const action: ActionFunction = async ({ request }) => {
addMember({
groupId: groupInvitedTo.id,
userId: user.id,
role: "MANAGER",
});
deleteLikesByGroupId(groupInvitedTo.id);