File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ export const createRepoActors = <C8 extends DocsConduit>() => {
77 const key = `subscriber:${ email } ` ;
88
99 try {
10- if ( ! c8 . body . env || ! c8 . body . env . SUBSCRIBERS ) {
11- console . error ( 'SUBSCRIBERS KV namespace is not defined in environment variables.' ) ;
10+ if ( ! c8 . body . env || ! c8 . body . env . NEWSLETTER_SUBSCRIBERS ) {
11+ console . error ( 'NEWSLETTER_SUBSCRIBERS KV namespace is not defined in environment variables.' ) ;
1212 c8 . var ( 'newsletter_status' , 'error' ) ;
1313 return c8 ;
1414 }
Original file line number Diff line number Diff line change 2929
3030 "kv_namespaces" : [
3131 {
32- "binding" : " SUBSCRIBERS " ,
33- "id" : " your-kv-id " ,
34- "preview_id" : " your-preview-kv-id " ,
32+ "binding" : " NEWSLETTER_SUBSCRIBERS " ,
33+ "id" : " 542d6476a58f429ea8dbac986a960c13 " ,
34+ "preview_id" : " 542d6476a58f429ea8dbac986a960c13 " ,
3535 },
3636 ],
3737
You can’t perform that action at this time.
0 commit comments