okay this should be it

This commit is contained in:
cirroskais 2024-03-18 16:15:22 -04:00
parent d332602725
commit eaa2d29aff
No known key found for this signature in database
GPG key ID: 5FC73EBF2678E33D

View file

@ -31,5 +31,9 @@ export default async function (req: Request): Promise<Response> {
const { access_token } = (await response.json()) as TokenResponse;
return new Response(access_token);
return new Response(JSON.stringify({ access_token }), {
headers: {
"Content-Type": "application/json",
},
});
}