Skip to content

Commit

Permalink
Add workaround jsdoc
Browse files Browse the repository at this point in the history
Signed-off-by: Marcos Candeia <[email protected]>
  • Loading branch information
mcandeia committed Sep 26, 2024
1 parent 38696f6 commit 0d95bd7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/actors/storage/denoKv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const ACTORS_KV_DATABASE = Deno.env.get("ACTORS_KV_DATABASE") ??
join(Deno.cwd(), "kv");

const ACTORS_DENO_KV_TOKEN = Deno.env.get("ACTORS_DENO_KV_TOKEN");
// this is necessary since deno cluster does not allow inject DENO_* env vars. so this is a workaround to make it work.
ACTORS_DENO_KV_TOKEN &&
Deno.env.set("DENO_KV_ACCESS_TOKEN", ACTORS_DENO_KV_TOKEN);

Expand Down

0 comments on commit 0d95bd7

Please sign in to comment.