Skip to content

Commit

Permalink
s/GET/POST/
Browse files Browse the repository at this point in the history
  • Loading branch information
beverloo committed Apr 14, 2024
1 parent 2b2c42b commit 33be03a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/api/webhook/twilio/inbound/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { authenticateAndRecordTwilioRequest } from '../authenticateAndRecordTwil
* Webhook invoked when an inbound message has been received over one of our communication channels,
* generally either SMS or WhatsApp. An immediate response is expected.
*/
export async function GET(request: NextRequest) {
export async function POST(request: NextRequest) {
const body = await authenticateAndRecordTwilioRequest(request, TwilioWebhookEndpoint.Inbound);
// TODO: Do something with the `body`

Expand Down

0 comments on commit 33be03a

Please sign in to comment.