Fixed team user fetch.
This commit is contained in:
@@ -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,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]} />;
|
||||
|
||||
Reference in New Issue
Block a user