Browse Source

Мелкий рефакторинг

Book Pauk 3 years ago
parent
commit
03e4a6d723
1 changed files with 2 additions and 2 deletions
  1. 2 2
      client/components/Reader/ServerStorage/ServerStorage.vue

+ 2 - 2
client/components/Reader/ServerStorage/ServerStorage.vue

@@ -728,10 +728,10 @@ class ServerStorage {
                 const ids = id.split('.');
                 if (!(ids.length == 2) || !(ids[0] == this.hashedStorageKey))
                     throw new Error(`decodeStorageItems: bad id - ${id}`);
-                items[utils.fromBase58(ids[1])] = decoded;
+                items[utils.fromBase58(ids[1]).toString()] = decoded;
             }
         }
-
+        
         result.items = items;
         return result;
     }