Skip to content

Commit

Permalink
airtable token in build environment
Browse files Browse the repository at this point in the history
  • Loading branch information
iamawatermelo committed Oct 20, 2024
1 parent 83c3160 commit 73a5de8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/airtable.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { env } from "$env/dynamic/private";
import Airtable from "airtable";

export default (new Airtable({ apiKey: env.AIRTABLE_TOKEN })).base(env.AIRTABLE_BASE)(env.AIRTABLE_TABLE);
export default (new Airtable({ apiKey: env.AIRTABLE_TOKEN || '' })).base(env.AIRTABLE_BASE)(env.AIRTABLE_TABLE);

0 comments on commit 73a5de8

Please sign in to comment.