Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Dec 3, 2024
1 parent f409359 commit 41e319e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typescript-express-reviews/src/seed/seed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ async function run() {

if (!process.env.IS_ASTRA) {
const connection: driver.Connection = mongoose.connection as unknown as driver.Connection;
await connection.createNamespace(connection.namespace);
await connection.createNamespace(connection.namespace as string);
}

const existingCollections = await mongoose.connection.listCollections()
Expand Down

0 comments on commit 41e319e

Please sign in to comment.