Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🛠️ fix: Remove expiresAt field when setting expiry to "never" (#4293) #4294

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

normunds-wipo
Copy link
Contributor

Summary

Make sure to update user provided key in MongoDb correctly - remove existing expiresAt field if we set new expiry to "never"

Change Type

Please delete any irrelevant options.

  • Bug fix (non-breaking change which fixes an issue)

Testing

Tested locally, verified in MongoDb that key gets updated correctly

Checklist

Please delete any irrelevant options.

  • My code adheres to this project's style guidelines
  • I have performed a self-review of my own code
  • My changes do not introduce new warnings

@danny-avila danny-avila changed the title fix: make sure to remove expiresAt field, when setting expiry to "never" (#4293) 🛠️ fix: Remove expiresAt field when setting expiry to "never" (#4293) Oct 3, 2024
@danny-avila danny-avila merged commit 77bcb80 into danny-avila:main Oct 3, 2024
BertKiv pushed a commit to BertKiv/LibreChat that referenced this pull request Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants