Skip to content

Commit

Permalink
User model ruff copy done
Browse files Browse the repository at this point in the history
  • Loading branch information
jgphilpott committed Oct 27, 2024
1 parent db6a6f4 commit f3e6781
Show file tree
Hide file tree
Showing 4 changed files with 725 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/mongoose/index.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,8 @@ class Mongoose
.then => console.log "Mongoose listening at " + this.protocol + this.host + ":" + this.port
.catch (error) => console.error "MongoDB Connection Error", error

disconnect: ->

mongoose.connection.close()

module.exports = Mongoose
Loading

0 comments on commit f3e6781

Please sign in to comment.