Skip to content

Commit

Permalink
✨ :: usecase 작성
Browse files Browse the repository at this point in the history
  • Loading branch information
yeongun130 committed Nov 27, 2023
1 parent 05becc7 commit 6e20ce7
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.usecase.auth

import com.msg.domain.model.auth.GAuthLoginRequestModel
import com.msg.domain.repository.GAuthRepository
import javax.inject.Inject

class GAuthLoginUseCase @Inject constructor(
private val gauthRepository: GAuthRepository
) {
suspend operator fun invoke(body: GAuthLoginRequestModel) = kotlin.runCatching {
gauthRepository.gAuthLogin(body = body)
}
}

0 comments on commit 6e20ce7

Please sign in to comment.