Fixed team user fetch.

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

View file

@ -50,6 +50,7 @@ export async function POST(
{ params }: { params: Promise<{ teamId: string; userId: string }> },
) {
const schema = z.object({
userId: z.string(),
role: roleParam,
});

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]} />;