twenty icon indicating copy to clipboard operation
twenty copied to clipboard

TypeError: Cannot destructure property 'id' of 'undefined' as it is undefined.

Open sentry[bot] opened this issue 1 year ago • 0 comments
trafficstars

Context

https://github.com/twentyhq/twenty/blob/68a625075759a8eb3178e2aab21541b15261f60d/packages/twenty-server/src/core/user/user.resolver.ts#L47

This may have been fixed already. TBC.

Sentry

TypeError: Cannot destructure property 'id' of 'undefined' as it is undefined.
  File "/app/packages/twenty-server/dist/src/core/user/user.resolver.js", line 46, in UserResolver.currentUser
    async currentUser({ id }) {
...
(2 additional frame(s) were not displayed)

sentry[bot] avatar Dec 23 '23 08:12 sentry[bot]