diff --git a/src/utils/bee.ts b/src/utils/bee.ts index 5d85e984..b474f728 100644 --- a/src/utils/bee.ts +++ b/src/utils/bee.ts @@ -81,7 +81,7 @@ export async function updateFeed( // adds "live_x" suffix to the topic if raw is true, so that topics can be versioned if needed export function getTopic(topic: string, raw: boolean): string { if (raw) { - return topic + "live_1"; + return topic + process.env.ENV; } const bee = new Bee(process.env.BEE_API_URL || DEFAULT_URL); return bee.makeFeedTopic(topic);