File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export default {
1818 maxWebhookRetries : parseInt ( get ( "MAX_RETRIES" , "3" ) ) ,
1919 maxWebhookRetryMs : parseInt ( get ( "MAX_RETRY_MS" , "30000" ) ) ,
2020 mainRedirect : get ( "MAIN_REDIRECT" , null ) ,
21- KV_PATH : get ( "KV_PATH" , null ) ?? undefined ,
21+ kvPath : get ( "KV_PATH" , null ) ?? undefined ,
2222
2323 // set by deno deploy
2424 deployId : get ( "DENO_DEPLOYMENT_ID" , "<unknown>" ) ,
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import type { RequestLog } from "./util.ts";
44const KEY_EXPIRY = 3 ; // seconds
55const MAX_RETRIES = 50 ;
66
7- const kv = await Deno . openKv ( config . KV_PATH ) ;
7+ const kv = await Deno . openKv ( config . kvPath ) ;
88
99export async function getAndIncrementKV ( key : string , reqLog : RequestLog ) : Promise < number > {
1010 const kvKey = [ "pr-comment" , key ] ;
You can’t perform that action at this time.
0 commit comments