---
title: "Discussion on \"Model.find() no longer accepts a callback in Mongoose\" | Hashnode"
description: "Discussion on \"Model.find() no longer accepts a callback in Mongoose\". When updating Mongoose on an old practice project I got this error in reference to my passport deserializeUser. I found a reply on https://stackoverflow.com/questions/75655652/model-find-no-longer-accepts-a-callback-in-mongoose that worked well.\nOrig..."
url: "https://hashnode.com/posts/modelfind-no-longer-accepts-a-callback-in-mongoose/664b2d4acebf504a94db21e0"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Model.find() no longer accepts a callback in Mongoose](https://diaanedev.hashnode.dev/modelfind-no-longer-accepts-a-callback-in-mongoose?utm_source=hashnode&utm_medium=feed)

When updating Mongoose on an old practice project I got this error in reference to my passport deserializeUser. I found a reply on https://stackoverflow.com/questions/75655652/model-find-no-longer-accepts-a-callback-in-mongoose that worked well. Orig...

May 20, 2024 · 1 min read · diaanedev.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#mongoose](https://hashnode.com/tag/mongoose)
-   [#passport](https://hashnode.com/tag/passport)

## Written by

[Dianne De Jesus](https://hashnode.com/@doncellanerdy)

@doncellanerdy

  
[View profile](https://hashnode.com/@doncellanerdy)

always learning

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
