Adjust review character limit to match LBP Vita's limit

Closes #286
This commit is contained in:
jvyden 2022-06-10 03:48:12 -04:00
parent 615b57122e
commit 89b6e6dff3
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278

View file

@ -96,7 +96,7 @@ public class ReviewController : ControllerBase
Review? newReview = await this.getReviewFromBody();
if (newReview == null) return this.BadRequest();
if (newReview.Text.Length > 100) return this.BadRequest();
if (newReview.Text.Length > 512) return this.BadRequest();
Review? review = await this.database.Reviews.FirstOrDefaultAsync(r => r.SlotId == slotId && r.ReviewerId == user.UserId);