Skip to content

Commit 5363b18

Browse files
committed
️🔥:: AuthDataSourceImpl 개행 삭제
1 parent 8287603 commit 5363b18

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

core/network/src/main/kotlin/com/stackknowledge/datasource/auth/AuthDataSourceImpl.kt

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,27 +15,17 @@ class AuthDataSourceImpl @Inject constructor(
1515
private val authAPI: AuthAPI
1616
) : AuthDataSource {
1717
override fun loginStudent(body: LoginRequest): Flow<LoginResponse> = flow {
18-
Log.e("dataSource loginStudent", "loginStudent")
1918
emit(
2019
StackKnowledgeApiHandler<LoginResponse>()
21-
.httpRequest {
22-
authAPI.loginStudent(
23-
body = body,
24-
)
25-
}
20+
.httpRequest { authAPI.loginStudent(body = body) }
2621
.sendRequest()
2722
)
28-
Log.e("dataSource loginStudent", "loginStudent")
2923
}.flowOn(Dispatchers.IO)
3024

3125
override fun loginTeacher(body: LoginRequest): Flow<LoginResponse> = flow {
3226
emit(
3327
StackKnowledgeApiHandler<LoginResponse>()
34-
.httpRequest {
35-
authAPI.loginTeacher(
36-
body = body,
37-
)
38-
}
28+
.httpRequest { authAPI.loginTeacher(body = body) }
3929
.sendRequest()
4030
)
4131
}.flowOn(Dispatchers.IO)

0 commit comments

Comments
 (0)