Skip to content

Commit

Permalink
fix: use appropriate API keys for Twilio
Browse files Browse the repository at this point in the history
  • Loading branch information
devcshort committed Feb 20, 2025
1 parent df20da3 commit 6fb68d7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/pages/api/share/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@ import * as process from 'process';
import client from 'twilio';

const twilioClient = client(
process.env.TWILIO_ACCOUNT_SID,
process.env.TWILIO_AUTH_TOKEN
process.env.TWILIO_API_KEY_SID,
process.env.TWILIO_API_KEY,
{
accountSid: process.env.TWILIO_ACCOUNT_SID,
},
);

const TWILIO_PHONE_NUMBER = process.env.TWILIO_PHONE_NUMBER;
Expand Down

0 comments on commit 6fb68d7

Please sign in to comment.