Skip to content

Commit

Permalink
Set export default exchangeAccessToken back in place.
Browse files Browse the repository at this point in the history
  • Loading branch information
akionii committed May 2, 2024
1 parent d72ccc0 commit 59650ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/exchange-token.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import axios from 'axios';
import type { VercelRequest, VercelResponse } from '@vercel/node';

async (req: VercelRequest, res: VercelResponse) => {
export default async function exchangeAccessToken(req: VercelRequest, res: VercelResponse) {
if (req.method !== 'POST') {
res.status(405).send('Method Not Allowed');
return;
Expand Down

0 comments on commit 59650ad

Please sign in to comment.