From 82bfe4da3fd8a457587197811d50d7df99563858 Mon Sep 17 00:00:00 2001 From: Russ Long Date: Mon, 8 Aug 2022 20:34:48 -0400 Subject: [PATCH] fix winner category --- app/Models/CarShowWinner.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/CarShowWinner.php b/app/Models/CarShowWinner.php index 941c108..6aa6aac 100644 --- a/app/Models/CarShowWinner.php +++ b/app/Models/CarShowWinner.php @@ -25,6 +25,6 @@ class CarShowWinner extends Model public function awardCategory() { - return $this->hasMany(CarShowCategory::class, 'category'); + return $this->hasMany(CarShowCategory::class, 'category_name'); } }