|
|
@@ -385,7 +385,8 @@ export default class App extends Component<Props> {
|
|
|
if ('undefined' !== typeof(oMsgData['push_tags']) && oMsgData['push_tags'] !== false) {
|
|
|
if ('undefined' !== typeof(oMsgData['push_tags']['email']) && oMsgData['push_tags']['email'].length) {
|
|
|
OneSignal.setEmail(oMsgData['push_tags']['email'], oMsgData['push_tags']['email_hash'], (sError) => {
|
|
|
- console.warn("OneSignal set email error:" + sError);
|
|
|
+ if ('undefined' !== typeof(sError))
|
|
|
+ console.warn("OneSignal set email error: " + sError);
|
|
|
});
|
|
|
delete oMsgData['push_tags']['email'];
|
|
|
delete oMsgData['push_tags']['email_hash'];
|