Skip to content

Commit

Permalink
test: fail CI
Browse files Browse the repository at this point in the history
  • Loading branch information
abourtnik committed Dec 7, 2023
1 parent c231c34 commit d10ecc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/User/VideoController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
Expand Down

0 comments on commit d10ecc4

Please sign in to comment.