Fixed team user fetch.

This commit is contained in:
Mike Cao committed 2025-02-14 03:09:18 -08:00
1 parent 0793407b0b
commit 36b53775bd
2 files changed
+2 -1

No files matched your search

@@ -50,6 +50,7 @@ export async function POST(
{ params }: { params: Promise<{ teamId: string; userId: string }> },
) {
const schema = z.object({
userId: z.string(),
role: roleParam,
});
+1 -1
View File
@@ -1,6 +1,6 @@
import SharePage from './SharePage';
export default async function ({ params }: { params: { shareId: string } }) {
export default async function ({ params }: { params: Promise<{ shareId: string }> }) {
const { shareId } = await params;
return <SharePage shareId={shareId[0]} />;