diff options
Diffstat (limited to 'backend/Elements.Backend/Controllers/SuggestionController.cs')
| -rw-r--r-- | backend/Elements.Backend/Controllers/SuggestionController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/Elements.Backend/Controllers/SuggestionController.cs b/backend/Elements.Backend/Controllers/SuggestionController.cs index 040b19b..932e774 100644 --- a/backend/Elements.Backend/Controllers/SuggestionController.cs +++ b/backend/Elements.Backend/Controllers/SuggestionController.cs @@ -123,7 +123,7 @@ public class SuggestionController : ControllerBase Icon = ConvertBitmapToPng(Convert.FromBase64String(suggestion.IconBitmap)), FirstElementId = suggestion.FirstElementId, SecondElementId = suggestion.SecondElementId, - VotingEnd = DateTime.UtcNow + TimeSpan.FromSeconds(10), + VotingEnd = DateTime.UtcNow + TimeSpan.FromMinutes(5), UserId = int.Parse(currentUserId) }; await _dbContext.Suggestions.AddAsync(newSuggestion); |
