From 6eab01a08645d76ea2409cd7c27e2308446259ff Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Tue, 5 Apr 2022 21:27:15 -0500 Subject: [PATCH] Update naming scheme for GeneratedRound --- src/commands/rounds.ts | 2 +- src/models/{generateRound.ts => generatedRound.ts} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename src/models/{generateRound.ts => generatedRound.ts} (80%) diff --git a/src/commands/rounds.ts b/src/commands/rounds.ts index 564cebf..c08321d 100644 --- a/src/commands/rounds.ts +++ b/src/commands/rounds.ts @@ -4,7 +4,7 @@ import { MessageEmbed, CommandInteraction } from 'discord.js'; import axios from 'axios'; import log from '../helpers/log'; -import generatedRound from '../models/generateRound'; +import generatedRound from '../models/generatedRound'; export const data = new SlashCommandBuilder() .setName('rounds') diff --git a/src/models/generateRound.ts b/src/models/generatedRound.ts similarity index 80% rename from src/models/generateRound.ts rename to src/models/generatedRound.ts index 1cc3611..0fbd5f2 100644 --- a/src/models/generateRound.ts +++ b/src/models/generatedRound.ts @@ -19,4 +19,4 @@ const generatedRoundSchema = new mongoose.Schema({ }, }); -export default mongoose.model('GeneratedRounds', generatedRoundSchema); +export default mongoose.model('GeneratedRound', generatedRoundSchema);