From cb0afbce87f18ecc0f4260db0c4afbd4569f57dd Mon Sep 17 00:00:00 2001 From: CultPodcastsBot <142722442+cultpodcasts@users.noreply.github.com> Date: Wed, 15 May 2024 23:40:30 +0100 Subject: [PATCH] Feature/get podcasts (#24) * Added new get-podcasts endpoint * Fix typo * Remove deprecated database --------- Co-authored-by: Jon Breen --- src/index.ts | 1 - wrangler.toml | 1 - 2 files changed, 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index de52e8d..35edf06 100644 --- a/src/index.ts +++ b/src/index.ts @@ -11,7 +11,6 @@ type Env = { Content: R2Bucket; Data: R2Bucket; Analytics: AnalyticsEngineDataset; - DB: D1Database; apiDB: D1Database; apikey: string; apihost: string; diff --git a/wrangler.toml b/wrangler.toml index ec5c4b6..0525e2b 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -8,7 +8,6 @@ r2_buckets = [ ] d1_databases= [ - {binding="DB", database_name = "submissions", database_id = "6d00eb71-b420-47f7-9e74-96d53bcb943a"}, {binding = "apiDB", database_name = "cultpodcasts-api", database_id = "17d94e5b-3bd9-4cec-95b7-cf418fe8c870"} ]