Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33322524
D11128.1768850997.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
777 B
Referenced Files
None
Subscribers
None
D11128.1768850997.diff
View Options
diff --git a/lib/types/redux-types.js b/lib/types/redux-types.js
--- a/lib/types/redux-types.js
+++ b/lib/types/redux-types.js
@@ -1324,7 +1324,7 @@
}
| {
+type: 'SET_ACCESS_TOKEN',
- +payload: string,
+ +payload: ?string,
}
| {
+type: 'UPDATE_THREAD_LAST_NAVIGATED',
diff --git a/native/components/access-token-handler.react.js b/native/components/access-token-handler.react.js
--- a/native/components/access-token-handler.react.js
+++ b/native/components/access-token-handler.react.js
@@ -18,7 +18,7 @@
await commCoreModule.getCommServicesAuthMetadata();
dispatch({
type: setAccessTokenActionType,
- payload: accessToken,
+ payload: accessToken ?? null,
});
})();
}, [dispatch]);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 19, 7:29 PM (14 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5957859
Default Alt Text
D11128.1768850997.diff (777 B)
Attached To
Mode
D11128: [native] Don't dispatch an undefined token
Attached
Detach File
Event Timeline
Log In to Comment