mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
Fixed team user fetch.
This commit is contained in:
parent
0793407b0b
commit
36b53775bd
2 changed files with 2 additions and 1 deletions
|
|
@ -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]} />;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue