Skip to content

Commit

Permalink
removed all comments
Browse files Browse the repository at this point in the history
  • Loading branch information
neshanth committed Oct 5, 2024
1 parent 874fc78 commit e0953bb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/Http/Controllers/Tag/TagController.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ public function addTags(Request $request,$taskId)
$task->tags()->sync($request->tagIds);
return response()->json(["msg" => "Tags Added"]);
}
// Get all Tags
public function getAllTags()
{
$tags = Tag::select("id","tag_name")->get();
Expand All @@ -28,7 +27,6 @@ public function getAllTags()
});
return response()->json($formattedTags);
}
// Get tags by task
public function getTagsByTask($taskId)
{
$tags = Task::with("tags")->get()->find($taskId);
Expand Down

0 comments on commit e0953bb

Please sign in to comment.