mirror of
https://github.com/etesync/android
synced 2025-02-02 02:41:31 +00:00
Fix journal readOnly json to use the correct field name.
This commit is contained in:
parent
e7186df6b8
commit
a43d0fceb8
@ -129,7 +129,7 @@ class JournalManager(httpClient: OkHttpClient, remote: HttpUrl) : BaseManager()
|
||||
val owner: String? = null
|
||||
val key: ByteArray? = null
|
||||
var version = -1
|
||||
val isReadOnly = false
|
||||
val readOnly = false
|
||||
|
||||
@Transient
|
||||
private var hmac: ByteArray? = null
|
||||
|
@ -168,7 +168,7 @@ abstract class SyncAdapterService : Service() {
|
||||
val journalEntity = JournalEntity.fetchOrCreate(data, collection)
|
||||
journalEntity.owner = journal.owner
|
||||
journalEntity.encryptedKey = journal.key
|
||||
journalEntity.isReadOnly = journal.isReadOnly
|
||||
journalEntity.isReadOnly = journal.readOnly
|
||||
journalEntity.isDeleted = false
|
||||
data.upsert(journalEntity)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user