From 1169e970a231213e15cad0e9d58c39c214312fb2 Mon Sep 17 00:00:00 2001 From: Ajeyakrishna Date: Sat, 16 Dec 2023 01:03:31 +0530 Subject: [PATCH 1/2] fix/service binding changes --- wrangler.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrangler.toml b/wrangler.toml index 08217c1..e41e127 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -10,7 +10,7 @@ kv_namespaces = [ { binding = "CronJobsTimestamp", id = "6fbc191da931473393d5fbe612251d29" } ] services = [ - { binding = "DISCORD_BOT", service = "discord-slash-commands", environment = "staging" } + { binding = "DISCORD_BOT", service = "discord-slash-commands", environment = "production" } ] [env.production] From b5f9804df59a8beb2f655a673fe32c12ff17a091 Mon Sep 17 00:00:00 2001 From: Ajeyakrishna Date: Sat, 16 Dec 2023 01:26:07 +0530 Subject: [PATCH 2/2] refactor: updates wrangler environment for service binding --- wrangler.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wrangler.toml b/wrangler.toml index e41e127..2af8848 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -10,7 +10,7 @@ kv_namespaces = [ { binding = "CronJobsTimestamp", id = "6fbc191da931473393d5fbe612251d29" } ] services = [ - { binding = "DISCORD_BOT", service = "discord-slash-commands", environment = "production" } + { binding = "DISCORD_BOT", service = "discord-slash-commands" } ] [env.production] @@ -18,7 +18,7 @@ kv_namespaces = [ { binding = "CronJobsTimestamp", id = "3a10f726c95d4afea9dee5fd00f029b9" } ] services = [ - { binding = "DISCORD_BOT", service = "discord-slash-commands", environment = "production" } + { binding = "DISCORD_BOT", service = "discord-slash-commands" } ] [triggers]