diff --git a/ProjectLighthouse/Controllers/GameApi/Resources/PhotosController.cs b/ProjectLighthouse/Controllers/GameApi/Resources/PhotosController.cs index b4149f2a..aee276de 100644 --- a/ProjectLighthouse/Controllers/GameApi/Resources/PhotosController.cs +++ b/ProjectLighthouse/Controllers/GameApi/Resources/PhotosController.cs @@ -59,7 +59,7 @@ public class PhotosController : ControllerBase if (photo.Subjects.Count > 4) return this.BadRequest(); - if (photo.Timestamp > TimestampHelper.Timestamp) return this.BadRequest(); + if (photo.Timestamp > TimestampHelper.Timestamp) photo.Timestamp = TimestampHelper.Timestamp; foreach (PhotoSubject subject in photo.Subjects) { @@ -168,4 +168,4 @@ public class PhotosController : ControllerBase await this.database.SaveChangesAsync(); return this.Ok(); } -} \ No newline at end of file +}