diff --git a/src/main/kotlin/team/themoment/gsmNetworking/domain/gwangya/controller/GwangyaController.kt b/src/main/kotlin/team/themoment/gsmNetworking/domain/gwangya/controller/GwangyaController.kt index 27457636..dc50c5ab 100644 --- a/src/main/kotlin/team/themoment/gsmNetworking/domain/gwangya/controller/GwangyaController.kt +++ b/src/main/kotlin/team/themoment/gsmNetworking/domain/gwangya/controller/GwangyaController.kt @@ -58,8 +58,8 @@ class GwangyaController( @Valid @RequestBody gwangyaDto: GwangyaPostRegistrationDto ): ResponseEntity { checkGwangyaAuthentication(gwangyaToken) - val gwangyaPost = generateGwangyaPostService.execute(gwangyaDto) - return ResponseEntity.status(HttpStatus.CREATED).body(gwangyaPost) + val savedGwangyaPost = generateGwangyaPostService.execute(gwangyaDto) + return ResponseEntity.status(HttpStatus.CREATED).body(savedGwangyaPost) } @DeleteMapping("/{gwangyaId}")