Page MenuHomePhabricator

D9783.id.diff
No OneTemporary

D9783.id.diff

diff --git a/web/redux/comm-redux-storage-engine.js b/web/redux/comm-redux-storage-engine.js
--- a/web/redux/comm-redux-storage-engine.js
+++ b/web/redux/comm-redux-storage-engine.js
@@ -17,7 +17,7 @@
type: workerRequestMessageTypes.GET_PERSIST_STORAGE_ITEM,
key,
});
- if (typeof result?.item !== 'string') {
+ if (!result || typeof result.item !== 'string') {
throw new Error('Wrong type returned for storage item');
}
return result.item;

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 26, 7:09 AM (11 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2704210
Default Alt Text
D9783.id.diff (484 B)

Event Timeline