From 81c5c47d97e3406a48ba0f2a841c58928869738f Mon Sep 17 00:00:00 2001 From: sanchezvem Date: Sun, 12 Apr 2026 22:10:22 +0100 Subject: [PATCH] Fixed 415 error --- BeReadyBackend/Endpoints/RandomChallenges/PatchProofEndpoint.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/BeReadyBackend/Endpoints/RandomChallenges/PatchProofEndpoint.cs b/BeReadyBackend/Endpoints/RandomChallenges/PatchProofEndpoint.cs index f15e0b0..b0a92d9 100644 --- a/BeReadyBackend/Endpoints/RandomChallenges/PatchProofEndpoint.cs +++ b/BeReadyBackend/Endpoints/RandomChallenges/PatchProofEndpoint.cs @@ -22,6 +22,7 @@ public class PatchProofEndpoint( public override void Configure() { Patch("/RandomChallenges/{@RandomChallengeId}/Proof", x => new { x.RandomChallengeId }); + AllowFormData(); } public override async Task HandleAsync(RandomChallengeProofRequest req, CancellationToken ct)