From d37cc8c56cbf8c9ffe7023c671abe0d579ea875d Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sun, 30 Mar 2025 17:21:29 -0400 Subject: Moved models to the db folder --- bot/src/api/routes/quotes.js | 2 +- bot/src/api/routes/settings.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'bot/src/api/routes') diff --git a/bot/src/api/routes/quotes.js b/bot/src/api/routes/quotes.js index 1b89f67..af61174 100644 --- a/bot/src/api/routes/quotes.js +++ b/bot/src/api/routes/quotes.js @@ -1,5 +1,5 @@ import { Router } from 'express'; -import { pendingQuote, quote as newQuote } from '../../models/quote.js'; +import { pendingQuote, quote as newQuote } from '../../db/models/quote.js'; import { verifyToken } from './auth.js'; export function quoteRouter(client) { diff --git a/bot/src/api/routes/settings.js b/bot/src/api/routes/settings.js index 3722fd2..516d8c9 100644 --- a/bot/src/api/routes/settings.js +++ b/bot/src/api/routes/settings.js @@ -1,6 +1,6 @@ import { ChannelType } from 'discord.js'; import { Router } from 'express'; -import { guildSettings } from '../../models/guild-settings.js'; +import { guildSettings } from '../../db/models/guild-settings.js'; import { verifyToken } from './auth.js'; export function settingsRouter(client) { -- cgit v1.2.3