Skip to content

Commit

Permalink
[Fix] :: FirebaseRequest class name fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lgwk42 committed May 22, 2024
1 parent e55f9de commit a1095a5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.project.qvick.domain.auth.client.api;

import com.project.qvick.domain.auth.client.dto.request.AuthenticationRequest;
import com.project.qvick.domain.auth.client.dto.request.FirebaseRequest;
import com.project.qvick.domain.auth.client.dto.request.RefreshTokenRequest;
import com.project.qvick.domain.auth.client.dto.request.SignInRequest;
import com.project.qvick.domain.auth.client.dto.request.SignUpRequest;
Expand Down Expand Up @@ -54,7 +54,7 @@ public RefreshTokenResponse refresh(RefreshTokenRequest request){

@PostMapping("/firebase")
@Operation(summary = "firebase 인증", description = "firebase 인증 서비스")
public void firebase(AuthenticationRequest request){
public void firebase(FirebaseRequest request){
authService.firebase(request);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

@Setter
@Getter
public class AuthenticationRequest {
public class FirebaseRequest {

@Schema(description = "FCM Token")
private String fcmToken;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.project.qvick.domain.auth.service;

import com.project.qvick.domain.auth.client.dto.request.AuthenticationRequest;
import com.project.qvick.domain.auth.client.dto.request.FirebaseRequest;
import com.project.qvick.domain.auth.client.dto.request.SignInRequest;
import com.project.qvick.domain.auth.client.dto.request.SignUpRequest;
import com.project.qvick.domain.auth.client.dto.response.JsonWebTokenResponse;
Expand All @@ -17,6 +17,6 @@ public interface AuthService {

RefreshTokenResponse refresh(String token);

void firebase(AuthenticationRequest request);
void firebase(FirebaseRequest request);

}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.project.qvick.domain.auth.service;

import com.project.qvick.domain.auth.client.dto.request.AuthenticationRequest;
import com.project.qvick.domain.auth.client.dto.request.FirebaseRequest;
import com.project.qvick.domain.auth.client.dto.request.SignInRequest;
import com.project.qvick.domain.auth.client.dto.request.SignUpRequest;
import com.project.qvick.domain.auth.client.dto.response.JsonWebTokenResponse;
Expand Down Expand Up @@ -80,7 +80,7 @@ public RefreshTokenResponse refresh(String token) {
}

@Override
public void firebase(AuthenticationRequest request){
public void firebase(FirebaseRequest request){
User user = userUtil.findUser();
if(StringUtils.hasText(request.getFcmToken())){
firebaseNotificationService.saveToken(user.getEmail(), request.getFcmToken());
Expand Down

0 comments on commit a1095a5

Please sign in to comment.