Skip to content

Commit

Permalink
Merge pull request #230 from Genti2024/feat/pgreq-two
Browse files Browse the repository at this point in the history
Fix: #207 인앱 결제 API 요청 컨트롤러 수정
  • Loading branch information
LeeJae-H authored Dec 4, 2024
2 parents 2ee6542 + 48e482f commit 6f7ebb3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import lombok.RequiredArgsConstructor;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

Expand All @@ -20,7 +21,7 @@ public class UserPurchaseController {
@PostMapping("/google/receipt-validation")
public ResponseEntity<GentiResponse.ApiResult<Boolean>> validateReceipt(
@AuthUser Long userId,
PurchaseRequestDto purchaseRequestDto) {
@RequestBody PurchaseRequestDto purchaseRequestDto) {
return GentiResponse.success(inAppPurchaseService.validateReceipt(userId, purchaseRequestDto));
}
}

0 comments on commit 6f7ebb3

Please sign in to comment.