Skip to content

Commit

Permalink
[FEAT/#111] PostService companion object 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
Roel4990 committed Jan 22, 2025
1 parent ebe14f8 commit f719674
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,7 @@ import retrofit2.http.GET
import retrofit2.http.Path

interface PostService {
companion object {
const val API = "api"
const val V1 = "v1"
const val POST = "post"
}

@GET("/$API/$V1/$POST/{userId}/{postId}")
@GET("/api/v1/post/{userId}/{postId}")
suspend fun getPost(
@Path("userId") userId: Int,
@Path("postId") postId: Int
Expand Down

0 comments on commit f719674

Please sign in to comment.