diff options
| author | Andrew Lee <andrew@alee14.me> | 2025-03-30 17:21:29 -0400 |
|---|---|---|
| committer | Andrew Lee <andrew@alee14.me> | 2025-03-30 17:21:29 -0400 |
| commit | d37cc8c56cbf8c9ffe7023c671abe0d579ea875d (patch) | |
| tree | 15dd5ba6bc8046017d78ff0186af0175850c612b /bot/src/api | |
| parent | 1662608835099ee3176d07d67c6a3c69f716f938 (diff) | |
| download | AleeBot-d37cc8c56cbf8c9ffe7023c671abe0d579ea875d.tar.gz AleeBot-d37cc8c56cbf8c9ffe7023c671abe0d579ea875d.tar.bz2 AleeBot-d37cc8c56cbf8c9ffe7023c671abe0d579ea875d.zip | |
Moved models to the db folder
Diffstat (limited to 'bot/src/api')
| -rw-r--r-- | bot/src/api/routes/quotes.js | 2 | ||||
| -rw-r--r-- | bot/src/api/routes/settings.js | 2 |
2 files changed, 2 insertions, 2 deletions
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) { |
