fix(library): drop out-of-range release years instead of failing the album #12
@@ -88,7 +88,9 @@ class ResumeController @Inject constructor(
|
|||||||
positionMs = state.positionMs,
|
positionMs = state.positionMs,
|
||||||
)
|
)
|
||||||
dao.upsert(
|
dao.upsert(
|
||||||
CachedResumeStateEntity(json = json.encodeToString<ResumePayload>(payload)),
|
CachedResumeStateEntity(
|
||||||
|
json = json.encodeToString(ResumePayload.serializer(), payload),
|
||||||
|
),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user