Skip to content

Commit

Permalink
Verify project visibility when using slugs
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianVennen authored and MiniDigger committed Dec 19, 2024
1 parent 82808eb commit f8f7668
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public ProjectService(final ProjectsDAO projectDAO, final HangarUsersDAO hangarU
}

public ProjectTable getProjectTable(final String slug) {
return this.projectsDAO.getBySlug(slug);
return this.getProjectTable(slug, this.projectsDAO::getBySlug);
}

public List<ProjectTable> getProjectTables(final long userId) {
Expand Down

0 comments on commit f8f7668

Please sign in to comment.