Skip to content

Commit

Permalink
Implented requested change
Browse files Browse the repository at this point in the history
  • Loading branch information
spitfire305 committed Jan 19, 2024
1 parent d1fe534 commit 8ab4478
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Services/Users/CleanupService.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ protected function removeFollows(): self

protected function removeFeatureRequests(): self
{
Feature::where('created_by', $this->user->id)->where('upvote_count', '<', 10)->where('status_id', 1)->delete();
Feature::where('created_by', $this->user->id)->where('upvote_count', '<', 10)->where('status_id', \App\Enums\FeatureStatus::Draft)->delete();
return $this;
}

Expand Down

0 comments on commit 8ab4478

Please sign in to comment.