refactor: user tagging

- simplify user tagging for posts and comments
This commit is contained in:
HDVinnie
2022-12-26 20:50:38 -05:00
parent 552984e884
commit 35bfa41b97
8 changed files with 133 additions and 207 deletions

View File

@@ -29,7 +29,6 @@ use App\Models\Forum;
use App\Models\Post;
use App\Models\Topic;
use App\Repositories\ChatRepository;
use App\Repositories\TaggedUserRepository;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Http\Request;
use Illuminate\Support\Str;
@@ -42,7 +41,7 @@ class TopicController extends Controller
/**
* TopicController Constructor.
*/
public function __construct(private readonly TaggedUserRepository $taggedUserRepository, private readonly ChatRepository $chatRepository)
public function __construct(private readonly ChatRepository $chatRepository)
{
}