Skip to content

Commit

Permalink
fix: response extension 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
DongGeon0908 committed Jul 27, 2024
1 parent d1cfca1 commit 0a0d11c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package com.hero.alignlab.domain.group.resource

import com.hero.alignlab.common.extension.wrapCreated
import com.hero.alignlab.common.extension.wrapOk
import com.hero.alignlab.common.extension.wrapVoid
import com.hero.alignlab.domain.auth.model.AuthUser
import com.hero.alignlab.domain.group.application.GroupFacade
import com.hero.alignlab.domain.group.application.GroupService
Expand Down Expand Up @@ -30,7 +31,7 @@ class GroupResource(
suspend fun withdrawGroup(
user: AuthUser,
@PathVariable id: Long
) = groupFacade.withdraw(user, id).wrapOk()
) = groupFacade.withdraw(user, id).wrapVoid()

@Operation(summary = "그룹 들어가기")
@PostMapping("/api/v1/groups/{groupId}/join")
Expand Down

0 comments on commit 0a0d11c

Please sign in to comment.