Fix device code approval 400 by removing Content-Type header from empty POST

Fastify rejects empty bodies when Content-Type is application/json.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Anton Kaminsky21d ago62108533fda6parent 1d40800
1 file changed-1
web/app/cli-auth/page.tsx
@@ -29,7 +29,6 @@
2929 const res = await fetch(`/api/auth/device-code/${code}/approve`, {
3030 method: "POST",
3131 headers: {
32 "Content-Type": "application/json",
3332 Authorization: `Bearer ${sessionToken}`,
3433 },
3534 });
3635