-
-
Couldn't load subscription status.
- Fork 126
Closed
Description
I'm using the latest @zenstackhq/server/next package, which exports the NextRequestHandler.
I get this error while running the server:
Error: In route /api/model/[...path] a param property was accessed directly with `params.path`. `params` should be awaited before accessing its properties. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`.
Probably NextRequestHandler should be updated to await the params props before being accessed. AFAIK, I couldn't find a way to await it myself.
JoeRoddy and ymc9
Metadata
Metadata
Assignees
Labels
No labels