Skip to content

[Bug] νšŒμ›κ°€μž… μ‹œ 쿼리 μˆ˜ν–‰ 였λ₯˜Β #213

Description

@WooYeonSeo

νšŒμ›κ°€μž…μ‹œ findUserWithEmail λΆ€λΆ„μ—μ„œ μ•„λž˜μ™€ 같이 μ„œλ²„μ—μ„œ μ—λŸ¬λ‚©λ‹ˆλ‹€.

  • 파일 : 2019-17/server/src/utils/parseDB.ts:14:20
  • μ†ŒμŠ€μƒμ—μ„œ get(0)을 ν•˜λ˜λ° 처음 νšŒμ›κ°€μž… ν•˜λŠ” κ²½μš°μ—λŠ” 데이터가 μ—†κΈ° λ•Œλ¬Έμ— λ°œμƒν•˜λŠ” μ—λŸ¬ κ°™μŠ΅λ‹ˆλ‹€.
(node:88801) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'get' of undefined
    at Object.getNode (/Users/yeon/dev/workspace_js/boostcamp_member/2019-17/server/src/utils/parseDB.ts:14:20)
    at /Users/yeon/dev/workspace_js/boostcamp_member/2019-17/server/src/schema/user/user.ts:35:16
    at step (/Users/yeon/dev/workspace_js/boostcamp_member/2019-17/server/src/schema/user/user.ts:33:23)
    at Object.next (/Users/yeon/dev/workspace_js/boostcamp_member/2019-17/server/src/schema/user/user.ts:14:53)
    at fulfilled (/Users/yeon/dev/workspace_js/boostcamp_member/2019-17/server/src/schema/user/user.ts:5:58)
    at process._tickCallback (internal/process/next_tick.js:68:7)
(node:88801) 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(). (rejection id: 2)

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions