fix(identity): internal render-charge request binding (record → class)
Build backend images / build content-svc (push) Failing after 1m0s
Build backend images / build file-svc (push) Failing after 47s
Build backend images / build gateway (push) Failing after 57s
Build backend images / build identity-svc (push) Failing after 1m2s
Build backend images / build notification-svc (push) Failing after 1m0s
Build backend images / build render-svc (push) Failing after 1m1s
Build backend images / build studio-svc (push) Failing after 58s
Build backend images / build content-svc (push) Failing after 1m0s
Build backend images / build file-svc (push) Failing after 47s
Build backend images / build gateway (push) Failing after 57s
Build backend images / build identity-svc (push) Failing after 1m2s
Build backend images / build notification-svc (push) Failing after 1m0s
Build backend images / build render-svc (push) Failing after 1m1s
Build backend images / build studio-svc (push) Failing after 58s
The nested positional record ChargeReq(Guid UserId) failed System.Text.Json binding under the snake_case policy (400). Use a plain class with a settable property. Verified: consume decrements + blocks at 0, refund restores, bad service token → 401. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -11,7 +11,7 @@ namespace FlatRender.IdentitySvc.Controllers;
|
||||
[Route("v1/internal")]
|
||||
public class InternalController(AdminService svc, IConfiguration config) : ControllerBase
|
||||
{
|
||||
public record ChargeReq(Guid UserId);
|
||||
public class ChargeReq { public Guid UserId { get; set; } }
|
||||
|
||||
private bool ServiceTokenValid()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user