Skip to content

Commit d18f17f

Browse files
committed
bump and fix mongoose studio
1 parent 706931a commit d18f17f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ app.use(
6767

6868
(async function() {
6969
const db = await connect();
70-
app.use('/studio', studio('/studio/api', db));
70+
app.use('/studio', await studio('/studio/api', db));
7171

7272
app.listen(8888);
7373
console.log('Listening on port 8888');

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"devDependencies": {
1818
"@masteringjs/eslint-config": "0.1.1",
1919
"@mongoosejs/migrations": "0.2.5",
20-
"@mongoosejs/studio": "0.0.50",
20+
"@mongoosejs/studio": "0.0.58",
2121
"cors": "2.8.5",
2222
"dotenv": "16.4.7",
2323
"eslint": "9.x",

0 commit comments

Comments
 (0)