Skip to content

Commit

Permalink
trying to get service account loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
robmoffat committed Jan 21, 2025
1 parent ab2cd94 commit 2cd5939
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[build]
edge_functions = "my-custom-directory"
2 changes: 1 addition & 1 deletion src/api/signup-submit.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default async function handler(req, res) {
const eventId = req.body.eventId;

// Replace with the path to your service account JSON file
const SERVICE_ACCOUNT_FILE = process.env.SERVICE_ACCOUNT_FILE ?? './calendar-service-account.json'
const SERVICE_ACCOUNT_FILE = 'calendar-service-account.json'

// Scopes required for the Google Calendar API
const SCOPES = [
Expand Down

0 comments on commit 2cd5939

Please sign in to comment.