Fixup aa1e2102fc
This commit is contained in:
1 parent
cc636bcae0
commit
bf495336d9
1 file changed
+1
-1
@@ -41,7 +41,7 @@ fun SpiderInfo.write(file: UniFile) {
|
||||
suspend fun SpiderInfo.saveToCache() {
|
||||
runSuspendCatching {
|
||||
spiderInfoCache.edit(gid.toString()) {
|
||||
data.toFile().writeBytes(Cbor.encodeToByteArray(this))
|
||||
data.toFile().writeBytes(Cbor.encodeToByteArray(this@saveToCache))
|
||||
}
|
||||
}.onFailure {
|
||||
it.printStackTrace()
|
||||
|
||||
Reference in new issue
Block a user