Skip to content

Commit

Permalink
switch to airtable pat
Browse files Browse the repository at this point in the history
  • Loading branch information
hmrc87 committed Jan 26, 2024
1 parent 6e4ca22 commit 7ad9036
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
todoist_bearer_token=XYZ
todoist_project_id=XYZ
airtable_api_key=XYZ
airtable_base_url="https://api.airtable.com/"
airtable_pat=XYZ
todoist_project_id=XZY
airtable_api_key=XZY
airtable_base_url="https://api.airtable.com/v0/XYZ"
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ async fn main() {
.expect("todoist_bearer_token environment variable must be set.");
let todoist_project_id = std::env::var("todoist_project_id")
.expect("todoist_project_id environment variable must be set.");
let airtable_token: String = std::env::var("airtable_api_key")
.expect("airtable_api_key environment variable must be set.");
let airtable_token: String = std::env::var("airtable_pat")
.expect("airtable_pat environment variable must be set.");
let airtable_base_url: String = std::env::var("airtable_base_url")
.expect("airtable_base_url environment variable must be set.");

Expand Down

0 comments on commit 7ad9036

Please sign in to comment.