mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-25 22:07:38 +00:00
Fixed repo not being correctly marked as jsonclass hence it crashed when fetching obfuscated
This commit is contained in:
parent
cc74593ddd
commit
4fd0fe3194
@ -1,10 +1,12 @@
|
|||||||
package com.topjohnwu.magisk.model.entity
|
package com.topjohnwu.magisk.model.entity
|
||||||
|
|
||||||
import com.squareup.moshi.Json
|
import com.squareup.moshi.Json
|
||||||
|
import com.squareup.moshi.JsonClass
|
||||||
import com.topjohnwu.magisk.utils.timeFormatStandard
|
import com.topjohnwu.magisk.utils.timeFormatStandard
|
||||||
import com.topjohnwu.magisk.utils.toTime
|
import com.topjohnwu.magisk.utils.toTime
|
||||||
import timber.log.Timber
|
import timber.log.Timber
|
||||||
|
|
||||||
|
@JsonClass(generateAdapter = true)
|
||||||
data class GithubRepo(
|
data class GithubRepo(
|
||||||
@Json(name = "name") val name: String,
|
@Json(name = "name") val name: String,
|
||||||
@Json(name = "updated_at") val updatedAt: String
|
@Json(name = "updated_at") val updatedAt: String
|
||||||
|
Loading…
x
Reference in New Issue
Block a user