Skip to content

Commit 31ddde5

Browse files
committed
address PR comments
1 parent 1f5b1cb commit 31ddde5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/server/src/adapter/next/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export interface PageRouteRequestHandlerOptions<Schema extends SchemaDef> extend
3333
*/
3434
export interface AppRouteRequestHandlerOptions<Schema extends SchemaDef> extends CommonAdapterOptions<Schema> {
3535
/**
36-
* Callback method for getting a Prisma instance for the given request.
36+
* Callback for getting a ZenStackClient for the given request.
3737
*/
3838
getClient: (req: NextRequest) => ClientContract<Schema> | Promise<ClientContract<Schema>>;
3939

packages/server/test/adapter/next.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ model M {
188188
};
189189

190190
await makeTestClient('/m/create', makeClientOptions)
191-
.post('/m/create')
191+
.post('/')
192192
.send({ data: { value: 0 } })
193193
.expect(403)
194194
.expect((resp) => {

0 commit comments

Comments
 (0)