Skip to content

Commit

Permalink
[FIX/#255] authId -> Authorization μˆ˜μ •
Browse files Browse the repository at this point in the history
  • Loading branch information
leeeyubin committed Sep 23, 2024
1 parent 54e6bd8 commit 4c7e9c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ class AuthDataSourceImpl @Inject constructor(
override suspend fun postSignUp(
authId: String,
request: SignUpRequestDto
): BaseResponse<SignUpResponseDto> = authService.postSignUp(authId, request)
): BaseResponse<SignUpResponseDto> = authService.postSignUp("Bearer $authId", request)
}
2 changes: 1 addition & 1 deletion data/src/main/java/com/terning/data/service/AuthService.kt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ interface AuthService {

@POST("api/v1/auth/sign-up")
suspend fun postSignUp(
@Header("authId") authId: String,
@Header("Authorization") authId: String,
@Body body: SignUpRequestDto,
): BaseResponse<SignUpResponseDto>
}

0 comments on commit 4c7e9c3

Please sign in to comment.