Skip to content

Commit cc78ef6

Browse files
committed
fix(next): add .js in import for better esm compatibility
1 parent 2df77b9 commit cc78ef6

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

TODO.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
- [ ] CLI
44
- [x] generate
55
- [x] migrate
6+
- [ ] db
7+
- [x] push
8+
- [ ] seed
69
- [x] info
710
- [x] init
811
- [x] validate
@@ -106,5 +109,5 @@
106109
- [ ] Databases
107110
- [x] SQLite
108111
- [x] PostgreSQL
109-
- [ ] Multi-schema
112+
- [x] Multi-schema
110113
- [ ] MySQL

packages/server/src/adapter/next/app-route-handler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { SchemaDef } from '@zenstackhq/orm/schema';
2-
import { NextRequest, NextResponse } from 'next/server';
2+
import { NextRequest, NextResponse } from 'next/server.js';
33
import type { AppRouteRequestHandlerOptions } from '.';
44
import { logInternalError } from '../common';
55

0 commit comments

Comments
 (0)