Skip to content

Commit

Permalink
Update mongoose.md (#1280)
Browse files Browse the repository at this point in the history
  • Loading branch information
yalamber authored Nov 27, 2023
1 parent af0774b commit 6874458
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions documentation/content/main/database-adapters/mongoose.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ import { mongoose } from "@lucia-auth/adapter-mongoose";
import mongodb from "mongoose";

// see next section for schema
const User = mongoose.model();
const Key = mongoose.model();
const Session = mongoose.model();
const User = mongodb.model();
const Key = mongodb.model();
const Session = mongodb.model();

const auth = lucia({
adapter: mongoose({
Expand Down

0 comments on commit 6874458

Please sign in to comment.