From d10ecc494d1310acd00f29631dea68e2ef425ef3 Mon Sep 17 00:00:00 2001 From: abourtnik Date: Thu, 7 Dec 2023 23:55:04 +0100 Subject: [PATCH] test: fail CI --- app/Http/Controllers/User/VideoController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/User/VideoController.php b/app/Http/Controllers/User/VideoController.php index 7cf71bd..9bad913 100644 --- a/app/Http/Controllers/User/VideoController.php +++ b/app/Http/Controllers/User/VideoController.php @@ -141,7 +141,7 @@ public function update(UpdateVideoRequest $request, Video $video): RedirectRespo default => null, }, 'publication_date' => $video->publication_date?->isPast() ? $video->publication_date : match((int) $request->get('status')) { - VideoStatus::PUBLIC->value => now(), + VideoStatus::PUBLIC->value => null, VideoStatus::PLANNED->value => $request->get('scheduled_date'), default => null, }