🔄 chore: Update mongoose model imports in delete-banner.js and reset-password.js (#7690)

This commit is contained in:
Danny Avila 2025-06-02 14:37:37 -04:00 committed by GitHub
parent f2f4bf87ca
commit c7f2ee36c5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View file

@ -1,7 +1,8 @@
const path = require('path');
const mongoose = require(path.resolve(__dirname, '..', 'api', 'node_modules', 'mongoose'));
const { Banner } = require('@librechat/data-schemas').createModels(mongoose);
require('module-alias')({ base: path.resolve(__dirname, '..', 'api') });
const { askQuestion, silentExit } = require('./helpers');
const Banner = require('~/models/schema/banner');
const connect = require('./connect');
(async () => {