Skip to content

Commit

Permalink
Move to inner class
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheikah45 committed Oct 14, 2023
1 parent 898747d commit 2c55731
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ class LobbyController(
val fafProperties: FafProperties,
) {

data class LobbyAccess(
val accessUrl: URI,
)

@GET
@Path("/access")
@PermissionsAllowed("${FafRole.USER}:${OAuthScope.LOBBY}")
Expand All @@ -34,7 +38,3 @@ class LobbyController(
return LobbyAccess(accessUrl)
}
}

data class LobbyAccess(
val accessUrl: URI,
)

0 comments on commit 2c55731

Please sign in to comment.