Fix to get it to build

This commit is contained in:
Kgothatso Ngako
2026-06-23 13:59:17 +02:00
parent 5e93a39a6c
commit c47751ad55
3 changed files with 19 additions and 7 deletions

View File

@@ -7,7 +7,7 @@ import at.torch.compose.database.model.MarmotKeyPackageBundle
@Dao
interface MarmotKeyPackageBundleDao {
@Query("SELECT * FROM MarmotKeyPackageBundle WHERE keyPackageEventId = :keyPackageEventId ORDER BY createdAt DESC")
@Query("SELECT * FROM MarmotKeyPackageBundle WHERE id = :keyPackageEventId ORDER BY createdAt DESC")
fun getMarmotKeyPackageBundleByKeyPackageEventIdId(keyPackageEventId: String): MarmotKeyPackageBundle?
@Upsert