mirror of
https://github.com/appy-one/acebase-server.git
synced 2026-05-24 22:01:28 -06:00
[GH-ISSUE #69] (esm) TypeError: Cannot read properties of undefined (reading 'uid') #23
Labels
No labels
bug
enhancement
feature request
pull-request
types
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/acebase-server#23
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @donl on GitHub (Jan 8, 2023).
Original GitHub issue: https://github.com/appy-one/acebase-server/issues/69
I don't think I was doing anything special code-wise... Just poking around on the client while not being signed in. Doesn't seem to happen 100% repeatably.
@appy-one commented on GitHub (Jan 8, 2023):
Thanks @donl I'll take a look
@appy-one commented on GitHub (Jan 8, 2023):
@donl it appears the issue is caused by a client sending a request with an invalid user token. The function parsing the token doesn't throw on unexpected input at https://github.com/appy-one/acebase-server/blob/master/src/shared/tokens.ts#L35
I'll fix this tomorrow!
@appy-one commented on GitHub (Jan 9, 2023):
I published the fix in v1.16.2, thanks for reporting @donl!