Skip to content

Commit

Permalink
sample compile 깨지는 것 고치기
Browse files Browse the repository at this point in the history
  • Loading branch information
yaeoni committed Jun 29, 2024
1 parent e91864a commit 64fc8a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions api/src/main/kotlin/com/mashup/dojo/SampleController.kt
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ class SampleController(
]
)
fun test(
@PathVariable id: Long,
): DojoApiResponse<Long> {
@PathVariable id: String,
): DojoApiResponse<String> {
return DojoApiResponse.success(sampleUseCase.getSampleId())
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import org.springframework.stereotype.Component
class SampleUseCase(
private val sampleService: SampleService,
) {
fun getSampleId(): Long {
fun getSampleId(): String {
return sampleService.getSample().id
}
}

0 comments on commit 64fc8a6

Please sign in to comment.