diff --git a/app/Jobs/GetBlockDetailsJob.php b/app/Jobs/GetBlockDetailsJob.php index 8c0aa606..1fa76ef6 100644 --- a/app/Jobs/GetBlockDetailsJob.php +++ b/app/Jobs/GetBlockDetailsJob.php @@ -75,7 +75,7 @@ public function handleBlockData(Block $block) LogEntry::create([ 'user_id' => 0, 'model_id' => $this->appeal->id, - 'model_type' => 'appeal', + 'model_type' => Appeal::class, 'action' => 'closed - duplicate', 'reason' => 'this appeal duplicates appeal #' . $duplicateAppeal->id, 'ip' => 'DB entry', @@ -95,7 +95,7 @@ public function handleBlockData(Block $block) LogEntry::create([ 'user_id' => 0, 'model_id' => $this->appeal->id, - 'model_type' => 'appeal', + 'model_type' => Appeal::class, 'action' => 'closed - invalidate', 'reason' => 'banned from UTRS', 'ip' => 'DB entry',