fixed error with foreign key in post
This commit is contained in:
@@ -85,8 +85,9 @@ public class PatchProofEndpoint(
|
||||
Post post = new()
|
||||
{
|
||||
CreationDate = DateTime.Now,
|
||||
Libelle = "test pour le moment",
|
||||
UserId = userId
|
||||
Libelle = randomChallenge.Label,
|
||||
UserId = userId,
|
||||
RandomChallengeId = req.RandomChallengeId,
|
||||
};
|
||||
|
||||
await postsRepository.AddAsync(post, ct);
|
||||
|
||||
Reference in New Issue
Block a user