From 5fed5bef3b309475dc54d8af617f9ab404416c3d Mon Sep 17 00:00:00 2001 From: "allen.yan" Date: Wed, 6 Aug 2025 17:45:59 +0800 Subject: [PATCH] =?UTF-8?q?202508061745=20=E6=AD=A3=E8=A6=8F=E5=8C=96?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E8=A1=A8=E6=9C=89=E5=95=8F=E9=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Livewire/Forms/SongForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Livewire/Forms/SongForm.php b/app/Livewire/Forms/SongForm.php index a8f92bd..c6276d4 100644 --- a/app/Livewire/Forms/SongForm.php +++ b/app/Livewire/Forms/SongForm.php @@ -74,7 +74,7 @@ class SongForm extends Component 'selectedArtists' => 'required|array', 'selectedArtists.*' => 'integer|exists:artists,id', 'selectedCategories' => 'nullable|array', - 'selectedCategories.*'=> 'integer|exists:categories,id', + 'selectedCategories.*'=> 'integer|exists:song_categories,id', ]; }