File tree 1 file changed +6
-4
lines changed
data/src/main/kotlin/com/bff/wespot/data/mapper/auth
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
package com.bff.wespot.data.mapper.auth
2
2
3
3
import com.bff.wespot.data.remote.model.auth.request.ConsentsDto
4
- import com.bff.wespot.data.remote.model.auth.request.KakaoAuthTokenDto
4
+ import com.bff.wespot.data.remote.model.auth.request.SignInDto
5
5
import com.bff.wespot.data.remote.model.auth.request.SignUpDto
6
- import com.bff.wespot.model.auth.request.KakaoAuthToken
6
+ import com.bff.wespot.model.auth.request.SignIn
7
7
import com.bff.wespot.model.auth.request.SignUp
8
8
import com.bff.wespot.model.auth.response.Consents
9
9
10
- internal fun KakaoAuthToken .toDto (fcmToken : String ) =
11
- KakaoAuthTokenDto (
10
+ internal fun SignIn .toDto (fcmToken : String ) =
11
+ SignInDto (
12
12
socialType = socialType,
13
13
identityToken = accessToken,
14
+ versionName = versionName,
14
15
fcmToken = fcmToken,
15
16
)
16
17
@@ -27,6 +28,7 @@ internal fun SignUp.toDto(token: String) =
27
28
classNumber = classNumber,
28
29
gender = gender,
29
30
signUpToken = token,
31
+ versionName = versionName,
30
32
consents = consents.toDto(),
31
33
profileUrl = profileUrl,
32
34
introduction = introduction,
You can’t perform that action at this time.
0 commit comments