Fixed 415 error
This commit is contained in:
@@ -22,6 +22,7 @@ public class PatchProofEndpoint(
|
|||||||
public override void Configure()
|
public override void Configure()
|
||||||
{
|
{
|
||||||
Patch("/RandomChallenges/{@RandomChallengeId}/Proof", x => new { x.RandomChallengeId });
|
Patch("/RandomChallenges/{@RandomChallengeId}/Proof", x => new { x.RandomChallengeId });
|
||||||
|
AllowFormData();
|
||||||
}
|
}
|
||||||
|
|
||||||
public override async Task HandleAsync(RandomChallengeProofRequest req, CancellationToken ct)
|
public override async Task HandleAsync(RandomChallengeProofRequest req, CancellationToken ct)
|
||||||
|
|||||||
Reference in New Issue
Block a user