Browse Source

Update naming scheme for GeneratedRound

development
Abheek Dhawan 3 years ago
parent
commit
6eab01a086
Signed by: abheekd GPG Key ID: 7BE81B8C14475B67
  1. 2
      src/commands/rounds.ts
  2. 2
      src/models/generatedRound.ts

2
src/commands/rounds.ts

@ -4,7 +4,7 @@ import { MessageEmbed, CommandInteraction } from 'discord.js';
import axios from 'axios'; import axios from 'axios';
import log from '../helpers/log'; import log from '../helpers/log';
import generatedRound from '../models/generateRound'; import generatedRound from '../models/generatedRound';
export const data = new SlashCommandBuilder() export const data = new SlashCommandBuilder()
.setName('rounds') .setName('rounds')

2
src/models/generateRound.ts → 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);
Loading…
Cancel
Save