diff --git a/src/data/threads.js b/src/data/threads.js index f3b497e..5bab7f6 100644 --- a/src/data/threads.js +++ b/src/data/threads.js @@ -129,20 +129,6 @@ async function createThreadInDB(data) { return threadId; } -/** - * @param {String} id - * @returns {Promise} - */ -async function findById(id) { - const row = await knex('threads') - .where('id', id) - .first(); - - if (! row) return null; - - return new Thread(row); -} - /** * @param {String} channelId * @returns {Promise}