Fix edge function and add to deployment script

- Update create-google-meet-event with improved JWT handling
- Fix jose library import and token signing
- Add better error logging
- Include create-google-meet-event in deployment script

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
dwindown
2025-12-23 09:58:12 +07:00
parent 631dc9a083
commit 6e411b160a
4 changed files with 83 additions and 58 deletions

View File

@@ -0,0 +1,6 @@
-- Add google_service_account_json column to platform_settings
ALTER TABLE platform_settings
ADD COLUMN IF NOT EXISTS google_service_account_json TEXT;
-- Add comment for documentation
COMMENT ON COLUMN platform_settings.google_service_account_json IS 'Google Service Account JSON for Calendar API integration (use service account to avoid OAuth)';