plugins/src/app/api/plugin/getToken/route.ts
Avoid too many return
statements within this function. Open
Open
return Response.json({ error: `getToken: ${res.error}` }, { status: 401 });
Avoid too many return
statements within this function. Open
Open
return Response.json({
accessToken: res.data.accessToken,
});