👷‍♂️ chore: pass Tavily Response error and revert test commit on userSchema.js (#3496)

* chore: revert test commit

* chore: make sure tavily error gets passed
This commit is contained in:
Danny Avila 2024-07-31 12:06:27 -04:00 committed by GitHub
parent 27ab00c6a9
commit b8a6efa649
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View file

@ -1,4 +1,5 @@
const mongoose = require('mongoose');
const { SystemRoles } = require('librechat-data-provider');
/**
* @typedef {Object} MongoSession
@ -78,7 +79,7 @@ const userSchema = mongoose.Schema(
},
role: {
type: String,
default: 'USER',
default: SystemRoles.USER,
},
googleId: {
type: String,