Fastify rejects empty bodies when Content-Type is application/json. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
| @@ -29,7 +29,6 @@ | ||
| 29 | 29 | const res = await fetch(`/api/auth/device-code/${code}/approve`, { |
| 30 | 30 | method: "POST", |
| 31 | 31 | headers: { |
| 32 | "Content-Type": "application/json", | |
| 33 | 32 | Authorization: `Bearer ${sessionToken}`, |
| 34 | 33 | }, |
| 35 | 34 | }); |
| 36 | 35 | |