Skip to content

Commit

Permalink
fix(ExampleResource.kt): fix linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
malaw-moj committed Jan 7, 2025
1 parent e898254 commit d585686
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import io.swagger.v3.oas.annotations.media.Schema
import io.swagger.v3.oas.annotations.responses.ApiResponse
import io.swagger.v3.oas.annotations.security.SecurityRequirement
import io.swagger.v3.oas.annotations.tags.Tag
import org.springframework.security.access.prepost.PreAuthorize
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.PathVariable
import org.springframework.web.bind.annotation.RequestMapping
Expand All @@ -19,7 +18,7 @@ import java.time.LocalDateTime
// TODO: This is an example and should renamed / replaced
@RestController
// Role here is specific to the UI.
//@PreAuthorize("hasRole('ROLE_TEMPLATE_KOTLIN__UI')")
// @PreAuthorize("hasRole('ROLE_TEMPLATE_KOTLIN__UI')")
@RequestMapping(value = ["/example"], produces = ["application/json"])
class ExampleResource(private val exampleApiService: ExampleApiService) {

Expand Down

0 comments on commit d585686

Please # to comment.