mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-01-11 08:53:04 +00:00
3262315248
Previously, we checked for `typeof email !== 'string'`. This code got turned into `email.length === 0`, which changed the behaviour of the method. Because TypeScript makes sure that `email` is always a string, we can get rid of the check altogether. Signed-off-by: David Mehren <dmehren1@gmail.com> |
||
---|---|---|
.. | ||
config | ||
migrations | ||
models | ||
ot | ||
web | ||
workers | ||
app.ts | ||
csp.ts | ||
errors.ts | ||
history.ts | ||
letter-avatars.ts | ||
library-ext.d.ts | ||
logger.ts | ||
realtime.ts | ||
response.ts | ||
utils.ts |