From 412b6e94d0fec256653828270d8e89c46d371765 Mon Sep 17 00:00:00 2001 From: im-calvin Date: Tue, 31 Oct 2023 18:27:05 -0700 Subject: [PATCH] update docker-compose to use /nfsdocker/nfs --- docker-compose.yml | 6 +++--- src/commands/list.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 9e1c9aa..c98f924 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,9 +1,9 @@ -version: '3' +version: "3" services: mittens: image: imcalvin/mittens:latest restart: always volumes: - - /nfs/mittens/data:/app/data + - /nfsdocker/nfs/mittens/data:/app/data environment: - DOTENV_KEY: ${DOTENV_KEY} \ No newline at end of file + DOTENV_KEY: ${DOTENV_KEY} diff --git a/src/commands/list.ts b/src/commands/list.ts index 672d5db..66c4ad2 100644 --- a/src/commands/list.ts +++ b/src/commands/list.ts @@ -35,7 +35,7 @@ const list: CommandData = { return; } - const streamerNames = discordUserSubs.map((sub) => sub.streamer.name); + const streamerNames = discordUserSubs.map((sub: DiscordUserSubscription) => sub.streamer.name); await interaction.editReply(`**Your subscriptions:** \n${streamerNames.join("\n")}`); }, };