File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,7 @@ export default class StorageService {
11
11
let item = await CacheService . getItem ( itemId ) ;
12
12
if ( ! item || forceUpdateCache ) {
13
13
const userSession = new blockstack . UserSession ( ) ;
14
- item = await userSession . getFile ( itemId , {
15
- decrypt : false
16
- } ) ;
14
+ item = await userSession . getFile ( itemId ) ;
17
15
if ( updateCache || forceUpdateCache ) {
18
16
CacheService . setItem ( itemId , item ) ;
19
17
}
@@ -28,9 +26,7 @@ export default class StorageService {
28
26
cacheItem = true
29
27
) : Promise < void > {
30
28
const userSession = new blockstack . UserSession ( ) ;
31
- await userSession . putFile ( itemId , itemValue , {
32
- encrypt : false
33
- } ) ;
29
+ await userSession . putFile ( itemId , itemValue ) ;
34
30
if ( cacheItem ) {
35
31
await CacheService . setItem ( itemId , itemValue ) ;
36
32
}
You can’t perform that action at this time.
0 commit comments