Skip to content

Commit b875708

Browse files
Merge pull request #1466 from liam-hq/devin/1745461868-fix-revalidate-path-for-organization-members
fix: use specific organizationId in revalidatePath for member invitations
2 parents c6857ed + d517ad4 commit b875708

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/apps/app/features/organizations/actions/inviteMember.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ export const inviteMember = async (formData: FormData) => {
171171
// TODO: Send email to user
172172

173173
revalidatePath(
174-
'/(app)/app/organizations/[organizationId]/settings/members/page.tsx',
174+
`/app/organizations/${organizationId}/settings/members`,
175175
'page',
176176
)
177177

0 commit comments

Comments
 (0)