Fix query

This commit is contained in:
Kgothatso Ngako
2026-07-07 00:54:07 +02:00
parent f8ba151095
commit 05bc680de3

View File

@@ -9,7 +9,7 @@ import fr.acinq.bitcoin.PublicKey
@Dao
interface MarmotKeyPackageDao {
@Query("SELECT * FROM MarmotKeyPackage WHERE publicKey = :publicKey ORDER BY createAt DESC")
@Query("SELECT * FROM MarmotKeyPackage WHERE publicKey = :publicKey ORDER BY createdAt DESC")
suspend fun getMarmotKeyPackageForPublicKey(publicKey: HexKey): MarmotKeyPackage?
@Upsert