Skip to content

Commit

Permalink
✨ :: FindPasswordUseCase 작성
Browse files Browse the repository at this point in the history
:: FindPasswordUseCase 작성
  • Loading branch information
Chaejongin12 committed Apr 26, 2024
1 parent 98f585a commit 9d3a756
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package com.msg.domain.auth

import com.msg.data.repository.auth.AuthRepository
import com.msg.model.remote.request.auth.FindPasswordRequest
import javax.inject.Inject

class FindPasswordUseCase @Inject constructor(
private val authRepository: AuthRepository
){
suspend operator fun invoke(body: FindPasswordRequest) = runCatching {
authRepository.findPassword(body = body)
}
}

0 comments on commit 9d3a756

Please sign in to comment.