Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature/537] 보틀더받기 메서드 변경 #538

Merged
merged 1 commit into from
Oct 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import com.nexters.bottles.api.global.interceptor.AuthRequired
import com.nexters.bottles.api.global.resolver.AuthUserId
import io.swagger.annotations.ApiOperation
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.PostMapping
import org.springframework.web.bind.annotation.RequestMapping
import org.springframework.web.bind.annotation.RestController

Expand Down Expand Up @@ -40,7 +41,7 @@ class BottleControllerV2(

// TODO: 따닥 방지
@ApiOperation("마이페이지 - 추가로 보틀 받기")
@GetMapping("/additional-random")
@PostMapping("/additional-random")
@AuthRequired
fun getAdditionalRandomBottle(@AuthUserId userId: Long) {
return bottleFacadeV2.getAdditionalRandomBottle(userId)
Expand Down
Loading