diff --git a/data/src/main/java/com/terning/data/datasourceimpl/AuthDataSourceImpl.kt b/data/src/main/java/com/terning/data/datasourceimpl/AuthDataSourceImpl.kt index 654fa903f..8a1080c9e 100644 --- a/data/src/main/java/com/terning/data/datasourceimpl/AuthDataSourceImpl.kt +++ b/data/src/main/java/com/terning/data/datasourceimpl/AuthDataSourceImpl.kt @@ -21,5 +21,5 @@ class AuthDataSourceImpl @Inject constructor( override suspend fun postSignUp( authId: String, request: SignUpRequestDto - ): BaseResponse = authService.postSignUp(authId, request) + ): BaseResponse = authService.postSignUp("Bearer $authId", request) } \ No newline at end of file diff --git a/data/src/main/java/com/terning/data/service/AuthService.kt b/data/src/main/java/com/terning/data/service/AuthService.kt index 17ac4bd40..841757744 100644 --- a/data/src/main/java/com/terning/data/service/AuthService.kt +++ b/data/src/main/java/com/terning/data/service/AuthService.kt @@ -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 } \ No newline at end of file