Rocket.Chat.Apps-engine icon indicating copy to clipboard operation
Rocket.Chat.Apps-engine copied to clipboard

[BUG] If username does not exist, `getUserReader().getByUsername()` returns `undefined`

Open aditya-mitra opened this issue 4 years ago • 0 comments
trafficstars

The IRead.getUserReader().getByUsername() returns undefined even though the documentation say Promise<IUser>.

This causes the server to crash

image

aditya-mitra avatar May 20 '21 18:05 aditya-mitra