Skip to content

Commit

Permalink
Missed file endings
Browse files Browse the repository at this point in the history
  • Loading branch information
FoxxMD committed Feb 7, 2024
1 parent d41ac09 commit 517fe6c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/commands/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {injectable} from 'inversify';
import {prisma} from '../utils/db.js';
import Command from './index.js';
import {getGuildSettings} from '../utils/get-guild-settings.js';
import {GUILD_SETTINGS_MAP} from '../services/config';
import {GUILD_SETTINGS_MAP} from '../services/config.js';

@injectable()
export default class implements Command {
Expand Down
2 changes: 1 addition & 1 deletion src/services/player.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {
import FileCacheProvider from './file-cache.js';
import debug from '../utils/debug.js';
import {getGuildSetting, getGuildSettings} from '../utils/get-guild-settings.js';
import {GUILD_SETTINGS_DEFAULTS, GUILD_SETTINGS_MAP} from './config';
import {GUILD_SETTINGS_DEFAULTS, GUILD_SETTINGS_MAP} from './config.js';

export enum MediaSource {
Youtube,
Expand Down
2 changes: 1 addition & 1 deletion src/utils/get-guild-settings.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {prisma} from './db.js';
import {GUILD_SETTING_TYPE, GUILD_SETTINGS_DEFAULTS, GUILD_SETTINGS_MAP, GuildSettings} from '../services/config';
import {GUILD_SETTING_TYPE, GUILD_SETTINGS_DEFAULTS, GUILD_SETTINGS_MAP, GuildSettings} from '../services/config.js';

export async function getGuildSettings(guildId: string): Promise<GuildSettings> {
const config = await prisma.setting.findMany({where: {guildId}});
Expand Down

0 comments on commit 517fe6c

Please sign in to comment.