minor fix 2
This commit is contained in:
parent
aabac6f528
commit
2911435663
@ -54,7 +54,6 @@ class ProductRemoteMediator (
|
||||
else -> {ProductListResponse()}
|
||||
}
|
||||
|
||||
|
||||
database.withTransaction {
|
||||
if (loadType == LoadType.REFRESH) {
|
||||
productDao.deleteByQuery(query)
|
||||
|
@ -21,8 +21,4 @@ class RestUserRepository @Inject constructor(
|
||||
suspend fun checkLogin(user: UserModel): UserModelRemote? {
|
||||
return service.checkLogin(user.toUserModelRemote())
|
||||
}
|
||||
|
||||
suspend fun getUser(token: String) : UserModelRemote? {
|
||||
return service.getUser(token)
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user