added AllowAnonymous();

This commit is contained in:
2025-11-17 21:20:04 +01:00
parent c6d4ef2c58
commit 27e8fea7f3
23 changed files with 23 additions and 1 deletions

View File

@@ -60,7 +60,7 @@ public class CreatePriceEndpoint(PyroFetesDbContext database) : Endpoint<CreateP
if (existingPrice != null)
{
await Send.ConflictAsync("Le fournisseur a déjà un prix pour ce produit.", ct);
await Send.NotFoundAsync(ct); //"Le fournisseur a déjà un prix pour ce produit.",
return;
}