Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] 완료한캔디: 월별 캔디(카테고리별로 보기) #152

Open
LeeJE20 opened this issue Jun 23, 2022 · 0 comments
Open

[BUG] 완료한캔디: 월별 캔디(카테고리별로 보기) #152

LeeJE20 opened this issue Jun 23, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@LeeJE20
Copy link
Member

LeeJE20 commented Jun 23, 2022

[GET]~api/candies/monthlyCompletedCandy/:category_id

(node:19684) UnhandledPromiseRejectionWarning: CastError: Cast to date failed for value "Invalid Date" (type Date) at path "reward_completed_at" for model "Candy"
    at model.Query.exec (C:\Project\handycandy\HandyCandy_Server\node_modules\mongoose\lib\query.js:4478:21)
    at model.Query.Query.then (C:\Project\handycandy\HandyCandy_Server\node_modules\mongoose\lib\query.js:4572:15)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)      
(node:19684) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 
To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 4)
@LeeJE20 LeeJE20 added the bug Something isn't working label Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant