mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 08:50:15 +01:00
📧 fix: Cancel Signup if Email Issuance Fails (#3010)
* fix: user.id assignment in jwtStrategy.js * refactor(sendEmail): pass params as object, await email sending to propogate errors and restrict registration flow * fix(Conversations): handle missing updatedAt field * refactor: use `processDeleteRequest` when deleting user account for user file deletion * refactor: delete orphaned files when deleting user account * fix: remove unnecessary 404 status code in server/index.js
This commit is contained in:
parent
084cf266a2
commit
92232afaca
7 changed files with 104 additions and 57 deletions
|
|
@ -21,7 +21,8 @@ const Conversations = ({
|
|||
);
|
||||
const firstTodayConvoId = useMemo(
|
||||
() =>
|
||||
conversations.find((convo) => convo && isToday(parseISO(convo.updatedAt)))?.conversationId,
|
||||
conversations.find((convo) => convo && convo.updatedAt && isToday(parseISO(convo.updatedAt)))
|
||||
?.conversationId,
|
||||
[conversations],
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue