Skip to content

Commit a0bd0c7

Browse files
authored
Merge pull request #120 from newzet-dev/Hotfix-issue#119
Hotfix: FCM Token 관련 엔드포인트에 @RequireAuth 추가
2 parents 0b6869a + 3525433 commit a0bd0c7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/main/java/com/newzet/api/fcm/api/FcmTokenApi.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import org.springframework.web.bind.annotation.RequestMapping;
77

88
import com.newzet.api.common.auth.annotation.Login;
9+
import com.newzet.api.common.auth.annotation.RequireAuth;
910
import com.newzet.api.common.auth.domain.AuthUser;
1011
import com.newzet.api.common.response.SuccessResponse;
1112
import com.newzet.api.fcm.api.dto.FcmTokenDeleteRequest;
@@ -16,6 +17,7 @@
1617
import jakarta.validation.Valid;
1718

1819
@RequestMapping("/api/v1/fcm")
20+
@RequireAuth
1921
@Tag(name = "FCM 토큰 관리", description = "FCM 토큰 관련 API")
2022
public interface FcmTokenApi {
2123

0 commit comments

Comments
 (0)