Skip to content

Commit

Permalink
fix wrong entity
Browse files Browse the repository at this point in the history
  • Loading branch information
cmonfortep committed Mar 3, 2025
1 parent 0264a2c commit f4816bc
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import androidx.room.Transaction
import com.duckduckgo.autofill.store.feature.email.incontext.EmailInContextExceptionEntity

@Dao
abstract class ExceptionsDao {
Expand All @@ -36,10 +35,10 @@ abstract class ExceptionsDao {
}

@Query("select * from autofill_service_exceptions where domain = :domain")
abstract fun get(domain: String): EmailInContextExceptionEntity
abstract fun get(domain: String): AutofillServiceException

@Query("select * from autofill_service_exceptions")
abstract fun getAll(): List<EmailInContextExceptionEntity>
abstract fun getAll(): List<AutofillServiceException>

@Query("delete from autofill_service_exceptions")
abstract fun deleteAll()
Expand Down

0 comments on commit f4816bc

Please sign in to comment.